Displaying 20 results from an estimated 3000 matches similar to: "Incremental Backup"
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
>
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,
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
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
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
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
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
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:
>
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
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
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
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
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*"
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