similar to: Help creating incremental backups using --backup-dir.

Displaying 20 results from an estimated 1000 matches similar to: "Help creating incremental backups using --backup-dir."

2004 Sep 23
1
rsync script from homepage: trouble
Hello, I'm new to this and am trying to modify the "backup to a central backup server with 7 day incremental" script from http://samba.anu.edu.au/rsync/examples.html to suit my situation. I have ended up with the script attached below and when running it from command line I get these errors: rsync error: syntax or usage error (code 1) at main.c(726) and a plethora of this >
2003 Aug 14
1
Incremental Backup
Hi folks, What is the purpose of following statements? [ -d $HOME/emptydir ] || mkdir $HOME/emptydir rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/ Expecting reply. Baskar
2003 Apr 09
0
rsync incremental backup problem with --backup-dir switch
Hello, I am using rsync v2.5.6 to backup our entire server filesystem over the network to a central backup server. I have copied the example script from the rsync website (http://rsync.samba.org/examples.html) to create incremental backups, the --backup-dir seems to have a strange side-effect. Everything goes well, but on the server side where the backup is stored I can't seem to break out
2005 Nov 23
2
HELP: need better understanding of "--delete" flag
Need to understand exactly what the "--delete" flag does when rsync runs. Here is my understanding... If a file is created on the source machine on monday, then rsync'd to the rsync server on monday night, then deleted on the source machine tuesday, then it will be deleted from the rsync server on tuesday night when the cron job runs again. But, would rsync under any circumstances,
2020 Sep 29
1
Back-up differences. Raspberry Pi and Fedora
I am using the 'backup to a central backup server with 7 day incremental' example to archive three separate computers to identically configured (apart from name) shares on a Western Digital 'MyBookLive' NAS which has rsync enabled. The backup from two Raspberry Pi Computers operates without a problem but the backup from a Fedora 32 computer fails with an 'unknown module
2009 Jun 12
1
--compare-dest= dir list ?
Hi, I would like to compare a backup dir with a directory list in --compare-dest= but I don't know how to specify this list. If a have only one dir it's ok, but if I have 2 or more dir I have an error ? Here is my script: #!/bin/bash SSH_USER= SSH_HOST= TOBCK=/ EXCLUDES=/root/bckscript/ns200176/excludes LOG=/root/bckscript/ns200176/rsync_$(date +'%Y-%m-%d_%H.%M.S').log
2006 May 20
1
problem to backup some folder - folder empy
hi my script to backup my home folder BDIR=/home/$USER EXCLUDE=exclude.txt OPTS="-a -r -v -p -t --del --exclude-from=$EXCLUDE --progress" BACKUPDIR=/media/dvdrecorder rsync $OPTS $BDIR $BACKUPDIR my exclude file + .kde/ + .kde/share/ + .kde/share/apps/ + .kde/share/apps/kmail/*** + .kde/share/apps/kwallet/*** + .kde/share/apps/konqueror/*** + .kde/share/apps/kabc/*** - .** when i
2006 Apr 15
2
include and exclude file
hi i try to include and exclude file when i do a rsync #!/bin/sh # directory to backup BDIR=/home/collinm/test/home # includes file - this contains a wildcard pattern per line of files to exclude INCLUDE=include.txt # excludes file - this contains a wildcard pattern per line of files to exclude EXCLUDE=exclude.txt OPTS="-a -r -v -p -t --delete-before --exclude-from=$EXCLUDE
2010 Sep 04
1
Options to copy modified files
We use rsync to copy files and directories from one server to the other. What options should I give to rsync so that it only copies the modified files? For example server1 may contain a dir which contains just one file that has been modified, how do I get rsync to copy just that one file over? I would like rsync to copy over the files which have been modified on the server1 to server2. This is
2003 Apr 23
1
trying to get incremental backups working
So I'm trying to write up a short script to do some backups over rsync. The goal is to have multiple client machines push the backups to the backup server nightly. The backup server will have a complete copy of the selected directories as well as revisions for the last 7 days. Here is the brief script I have. Btw if you're wondering about all the variables, I eventually want to set it to
2006 Dec 06
2
May I merge several increment backups to one?
Hi all, I have the following situation: Backup /mysource to /backupdir, /backupdir/full ---------an old full backup /backupdir/back2 -------previous increment backup(based on the full backup mentioned above) /backupdir/back1 ------most recent increment backup (based on the two backups mentioned above) How can I merge the two increment backups into one directory,say
2011 Mar 17
1
[nut-commits] svn commit r2940 - in branches/windows_port/scripts/Windows/Installer
> > ---------- Forwarded message ---------- > From: Frederic BOHE <fbohe-guest at alioth.debian.org> > To: nut-commits at lists.alioth.debian.org > Date: Wed, 16 Mar 2011 14:57:09 +0000 > Subject: svn commit r2940 - in > branches/windows_port/scripts/Windows/Installer: . ImageFiles > ImageFiles/Binary ImageFiles/Others ImageFiles/emptyDir >
2002 Jun 26
5
[PATCH] improved chroot handling
There are a couple of niggles with the sandboxing of the unprivileged child in the privsep code: the empty directory causes namespace pollution, and it requires care to ensure that it is set up properly and remains set up properly. The patch below (against the portable OpenSSH, although the patch against the OpenBSD version is very similar) replaces the fixed empty directory with one that is
2003 Dec 05
0
[Linux-ME] daily backup (incremental backup ) - SOLVED
Dear Manoj, Have found out the mistake in my script. One must create directory if he/she wants to move old files to backup directory. In my script I was not creating any new backup-dir(datewise), therefore despite of have -b --backup-dir flags it was not working. This means rsync can only create automatically new direcotry for destination but not backup-dir !!!! Am I correct? Bipin ---
2003 Nov 19
1
daily back (incremental backup )
Hello, I have Novell Netware File server. Which is mounted as /mnt/novell on one of my Linux m/c. I want to take backup of Novell Server to my Linux m/c. I need everyday backup of Novell server to be taken on Linux m/c. I don't want full backup every day but I need an incremental backup. I do not want to delete any old directory or files. I have taken script from rsync examples, and
2005 Sep 17
3
mirror combined with 7 day incremental backup
Hello, I'm trying to figure out how to keep a mirror and 7 day incremental backup between to 2 mount points. I want to rsync everything from /mnt/production/ to /mnt/backup/production/ on the same server. Nothing fancy. But , I Want to utilize the --delete option for files that no longer exist on /mnt/production/ that have been on /mnt/backup/production/ for longer then 7 days. I
2016 Feb 04
2
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
Hi, I am runing rsync --backup --backup-dir=$BACKUPDIR where the BACKUPDIR=$(date +%d) to recycle the $BACKUPDIR in a month. But rsync does not clean the $BACKUPDIR before writing to it in cycling. I guess you have to clean it manually before the rsync can write to it. As my $BACKUPDIR is in remote machine, do you have to run ssh to delete it first before calling rsync in a script? Or if there
2016 Feb 04
1
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
Hi Kevin, Thank you very much for the response. Actually, I don't think I need to clean the backup dir defined in --backup-dir=<backup dir>, when the contents has already been deleted in the destination (no exist), it will delete from the backup dir as well in next cycle, correct? Regards, - j On Thu, Feb 4, 2016 at 12:39 PM, Kevin Korb <kmk at sanitarium.net> wrote: >
2008 Jun 23
1
fully-qualified symlinks & --exclude question
Greetings! I've ran into a couple difficulties for a particular rsync use-case I'm involved in implementing - hoping someone here might be able to clue me in! I've got an existing linux box, with a particular directory that needs to be mirrored onto another server, into a different base path on that server - i.e.: server1:/var/lib/bar/ to server2:/backupdir/var/lib/bar/ Now,
2010 Mar 15
2
cwrsync and link-dest option
Hello, In a small environment I have to backup two servers, an Ubuntu 9.10 and a Windows Server 2008 machine. My Backuphost is a Ubuntu 9.10 machine as well. I installed rsync on both Ubuntu hosts from repository (3.0.6) and cwrsync from http://www.itefix.no/i2/node/10650 (3.0.7). Then I wrote some Bash-Scripts which executes rsync every week like that: BACKUPDIR=/var/backup rsync -v -a