Displaying 20 results from an estimated 5000 matches similar to: "backup script"
2008 Jul 21
2
copy
I want to copy all the following files/folder/subfolders under
/usr/local/apache/htdocs to a remote server within this directory
/var/www/html/
Am I correct with this command, or far away offff
tar zcvf - /usr/local/apache/htdocs | ssh root at 1.2.3.4 "cat >
/var/www/html/htdocs.tar.gz"
Thanks
--
Your search - madunix - did not match any documents.
-------------- next part
2008 Jan 10
2
FreeBSD tar errors on valid empty tar.gz
Seems our current libarchive? That support FreeBSD's tar implementation has
a bug where it can create archives it cant read back. This can be seen
by simply creating an empty tar.gz file and then trying to expand or
list it.
In doing the above you get the following error:
tar: Unrecognized archive format: Inappropriate file type or format
N.B. gtar can list and expand the created file
2010 Nov 11
1
FW: Permissions issue
I am at loss on this mysterious file permission issue. I cannot move the file
out of the directory, but I can rename it. I cannot read the file.
It is not open by any processes, the filesystem is in read write mode. I am
logged in as root.
-Jason
[root at localhost /]# tar cvzf ~/named.201011111228.tgz --one-file-system
/etc/named.conf /var/named/
tar: Removing leading `/' from member names
2002 Nov 13
4
Speed tests
Hi all
I hope no one minds but I was asked to post my timetrial findings back
to the list.
Hope it helps someone else as well, if you have any suggestions please
mention them as I need all the speed that I can get
The scenaro is as follows
I have to switch mail servers and I need to copy all my mbox files over
to the new machine.
As you may well know time if off the utmost importance so I
2010 Jan 04
5
link-dest question
The command below was run on FreeBSD 7.2 with rsync-3.0.3.
The command works but copies all files, i.e. no hard links created.
rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \
--link-dest=/mnt/200912/newharbor/home -e ssh newharbor.safeport.com:/home \
201001/newharbor/home/
The command was run without the continuation breaks that I added for
readability. The command
2009 Aug 13
5
yum update
Can any one clarify this, is auto updating at all production servers
recommended or not?
need to know your opinion, how do you manage the update?
-mu
2009 Aug 02
4
Web
I have the following issues on a website, would like to know how would
you resolve these issue?
1- CSS is not used efficient.
2- Search engine need to be optimized.
3- Java Scripts are placed between HTML tags.
4- Redirecting homepage through JS code, using client side
5- Web page delay, a lot of objects.
6- Disable listings directories from apache (how)
7- web not compatible with Firefox
Thanks
2011 Sep 23
4
replace multiple string
Hi
I would like to use a bash script that searches files and
subdirectories name in a directory /var/ww/html/web
for a specific string, and when it finds the search string, replaces
the string (old1) with new string (new1), and so on
old2 with new2 ....oldn with newn.
replace_string.sh
#!/bin/bash
for db in $(find /var/www/html/web -name * -exec)
do
sed -e "s/old1/new1/" \
sed
2012 Mar 18
4
LVM
I need to shrink /home(755G) to 150GB and use free space to add to the
existing /(50G).
#df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_web-lv_root 50G 7.8G 40G 17% /
tmpfs 7.8G 384K 7.8G 1% /dev/shm
/dev/sda2 485M 79M 381M 18% /boot
/dev/sda1 200M 256K 200M 1% /boot/efi
/dev/mapper/vg_web-lv_home755G 6.2G 711G
2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
Hi everyone!
Im trying to install mechanizer from
http://github.com/tenderlove/mechanize.
I`ve clone the project into /tmp folder. When I do rake inside the
folder /tmp/mechanizer it gives me this error:
mac159180:mechanize renatosis$ rake
(in /private/tmp/mechanize)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w
-Ilib:bin:test:. -e ''require "rubygems";
2011 Dec 13
5
Backing Up To Windows File Server
Greetings,
Working with dsync and setting up backups to a Windows file server.
Problem seems to be that Windows is renaming the dovecot mail files
(maildir) to Windows friendly filenames, and losing the Dovecot name.
For example,
1323817925.M36368P32049.triata.globalchangemultimedia.net,S=2255,W=2318:2,S
becomes 1AETPH~X.
Does anyone have any ideas about how to tell Windows to not do this?
2010 Jan 23
5
authentication failure
I noticed that my server has a lot ca. 1000x auth failure from
different alocated in China / Romania and Netherlands per day since 3
days
It looks to me like somebody was trying to get into server by guessing
my password by brute force.
what would be the best to stop this attack and how? the server running
apache mysql and ftp
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
443/tcp
2009 Jul 09
2
OT:CMS
Dear ALL,
What are the experiences you have with various open source CMS
products (Comparison of PHP-based CMS) such as (Drupal, Joomla,
OpenCMS, Typo3, eZ publish ..etc.)
Security, Bugs, Performance, Support, Developer Community, learning
curve, appearance..etc
Thanks
-mu
2013 Nov 25
2
intel
I am in the process of getting multiple Desktops to run linuxfor Research
and Development, at the moment am comparing the following intel chipset
H81, Q87, Q77, H61...What is the difference?What would be best performance
issue?
2003 Sep 18
1
modified include-from file not taken into account.
Hello list,
Using rsync 2.5.6 on Solaris 7/8 boxes:
I was happily running this script via crontab:
$ more webrsync.ksh
#!/bin/ksh
# @(#) File synchronization across hosts using rsync
#Description :
#
# Created : 4 September 2003
# Author : Loris Serena
set -x
LPATH=/usr/local/bin
for i in 1 3 4 5 6 7 8
do
${LPATH}/rsync -azvv -e ${LPATH}/ssh --stats
2011 Mar 15
4
tar exclude question
Hi List,
hope this is not too offtopic, but this bothers me and my backup.
My backups are tar jobs in cron, eg:
20 23 * * * tar -zcf /mnt/backupInternalHosts/backup/backup.tar.gz
/etc /root /home && touch /tmp/state_backup-backup
This always sends me an unwanted email with:
tar: Removing leading `/' from member names
I consider this a bug because this informal message is
2011 Dec 01
1
Hlink node data for 570645 already has path ...
When syncing one backup system (running dirvish, but that's not really
relevant) to a second long-term backup system which uses btrfs
snapshots, I get the following output:
rsync: link "/parasite.oob.telegraaf.net/vservers-var-www/tree/elo/var/www/lokaalx/openx-htdocs/etc/xmlcache/.svn/prop-base/cache_etc-changes_schema-tables-core-12934.bin.svn-base" (in backup-aquagirl) =>
2008 Jul 11
1
Question about log output
Hi all,
I have a question as to how I can show the full content of my rsync logs
as opposed to what I see below:
Why do my logs look truncated?
2008/07/11 19:45:34 [18816] <f..t.... htdocs/etc...
2008/07/11 19:45:34 [18816] <f..t.... htdocs/etc...
2008/07/11 19:45:34 [18816] <f.st.... htdocs/etc...
2008/07/11 19:45:34 [18816] <f..t.... htdocs/etc...
2008/07/11 19:45:34 [18816]
2010 Sep 28
1
How to mirror only specified directories
I am trying to mirror only select directories from one server to another with rsync through its daemon mode.
Server A
/export
/home
/A-do
/A-not
/A-copy
/das
/htdocs
/docs
/em
/htdocs
/docs
/psb
/htdocs
/docs
/X-do
/X-not
/X-copy
Server B
/export
/home
/extranet
2010 Sep 30
3
Excluding most and including some problems continue.
Here is my rsync command as it currently stands.
/usr/local/bin/rsync -vvv --stats -Pzrtpl --delete --password-file=/export/home/webuser/.appprod --log-file=/export/home/webuser/logs/rsync-log -F /export/home/ webuser at appprod::dprweb_extranet/ > rsync-test
Here is the current .rsync-filter file.
+ das
+ em
+ enf
+ internal
+ itb
+ medtox
+ pml
+ psb
+ reg
+ whs
+ htdocs
+ docs
- /*
-