similar to: May I merge several increment backups to one?

Displaying 20 results from an estimated 900 matches similar to: "May I merge several increment backups to one?"

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
2009 Apr 09
3
Help creating incremental backups using --backup-dir.
Normally I would use the --link-dest option to do this but I can't since I'm rsyncing from a Mac to a Samba share on a Linux box and hard links don't work. What I want to do is create a 10 day rotating incremental backup. I used the first script example on the rsync examples page as a template. The only thing I changed was the destination to be a local directory and paths for
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,
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 >
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
2005 Apr 12
1
Question on using smbmount
I'm trying to mount a samba share located on one Linux server to another samba server for backup purposes. The problem im running into is that i get an error stating: couldn't find service <share I am specifying> Here is what im attempting: One server #1 sambaserver, Where I want the share to be mounted for backup purposes smbmount //valhalla/backupdir /backuparea/valhalla If
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
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
2013 Feb 27
3
an rsync question
Is there any way to have rsync compare against a file with a *different* name? What I'd like to do is compare a vm - whatsit.img against a backup - whatsit.current, that's a symlink to whatsit.timestamp, and if different, *then* make the copy (which my script will then move to whatsit.newtimestamp, and change the symlink to point to the new one, then remove the old (or maybe save an older
2014 Nov 22
1
rsync not transferring files
Hi there, I am running rsync-3.0.6-12.el6.x86_64 on a centos 6.6 box. Am trying to get files from a remote server (centos 6.5) to my local machine. It appears to connect fine, but does not transfer any file. this is what I am seeing [youcantoo at testbox home]# rsync -avvvzh -P --stats --delete servername::backupdir/ /home/findmoore opening tcp connection to servername port 873 sending daemon
2003 Jul 30
1
Basic doubts
Hi all, I am very new to the rsync world (as well as the linux world) and have some really basic doubts. Please bear with me. I installed RH 9 on two systems in the same network and Rsync 2.5.5 was automatically installed with it. When I executed the command “rsync –avz test.txt /backupdir/ ”, it backed up the file test.txt into backupdir/test.txt. But when I tried the command “rsync
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
2008 Aug 20
3
How to escape spaces in rsync source and destination paths
This may not be an rsync-specific question, but it is certainly stopping me from moving forward with rsync and I am sure it has a simple solution. I have written a simple shell script to rsync disks attached to a Mac OS X Server 10.4.11 Xserve box at our offices to a similar Mac OS X Server 10.4.11 setup at our colocation facility. The script runs rsync 3.0.3 on the machine at the colocation
2002 Nov 13
2
--delete-excluded not working on local rsync
I am using the following command and the excluded directory /usr/share/doc/ still appears with all it's contents in the backup directory when it's contents should be deleted. Is this a bug or am I doing something wrong? rsync --delete --delete-excluded -a -R --exclude="/proc/*" --exclude="/dev/*" --exclude="/usr/share/doc/*" --exclude="/backup*"
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
2004 May 03
1
(fwd from psdasilva@esoterica.pt) rsync: Request for a feature
----- Forwarded message from Paulo da Silva <psdasilva@esoterica.pt> ----- From: Paulo da Silva <psdasilva@esoterica.pt> Subject: rsync: Request for a feature Date: Sun, 02 May 2004 17:09:11 +0100 To: mbp@samba.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040317 X-Spam-Status: No, hits=-0.9 required=3.2 tests=BAYES_10 autolearn=ham version=2.63 Hi. 1st.
2008 Nov 14
1
Problems with accessing samba printer from Windows
Hi, I recently migrated from Madrake/Mandriva to Ubuntu (8.04) on the machine with the printer attached. When I set up samba originally my understanding of it was very limited. It's probably even more limited now (brain cells dying off! :-) ). However, at least it did what I wanted - gave access to the printer and a scratch disk area for the Windows machines. When I migrated to Ubuntu, I
2002 Dec 17
2
Still having trouble with copying large files
I had originally written about this problem last month (http://lists.samba.org/pipermail/samba/2002-November/085418.html) Since then, our company has added another Windows Fileserver which I'm trying to back up, and they are both having the problem. Because it happens on both servers, this leads me to believe it really is a problem with my Samba server. I've upgraded to 2.2.7a, as the