search for: server_backup

Displaying 3 results from an estimated 3 matches for "server_backup".

2010 Nov 09
1
How to copy just some subdirectories using filter rules
...nce, surely, I miss something :) I just want to copy some directories (and their full content) from a server to my PC. This is what I "try" to use: rsync -vv -a --relative --delete --force --delete-excluded \ --include-from=/etc/backup.filter \ 99.99.99.99:/ /home/server_backup/ /etc/backup.filter: -------------------------------------- + /etc/ + /usr/local/etc/ + /usr/local/etc/ + /usr/local/bin/ + /usr/local/sbin/ - /* -------------------------------------- However when running the command just /etc/ dir is copied. In order to, for example, copy /usr/local/etc/ I w...
2005 Feb 17
4
Incremental Backups
...ke to at any point be able to go back in time and look at a snapshot of the server. Is this a correct assessment? And if so, would the more appropriate rsync command go as follows? sudo rsync -azRv -e ssh --exclude-from=/Users/someuser/scripts/Server_Scripts/etc/rsync_exclude --link-dest=../Server_Backup.1 administrative_user@someserver.com:/ Server_Backup.current Thanks much for any help! -George
2004 Sep 23
1
rsync script from homepage: trouble
...need to make use of EXCLUDE_FILE. # The file should contain directories and filenames, one per line. # An example of a EXCLUDE_FILE would be:# /proc/ # /tmp/ # /mnt/ # *.SOME_KIND_OF_FILE EXCLUDES=$HOME/cron/excludes # the name of the backup machine BSERVER=user@BACKUPSERVER ssh-add ~/.ssh/root\@SERVER_backup ######################################################################## BACKUPDIR=`date +%A` #OPTS="-e ssh --force --ignore-errors --delete-excluded #--exclude-from=$EXCLUDES# --delete --backup #--backup-dir=/$BACKUPDIR -a" OPTS="-e ssh --force --ignore-errors --delete --bac...