Displaying 20 results from an estimated 700 matches similar to: "rsync incremental backup problem with --backup-dir switch"
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
>
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 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
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 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 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,
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
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
>
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 Feb 05
1
HELP
HELP!!!
Someone is forging my domain to spam AOL accounts. Anyone know how I can
stop this. I have deleted 400 - 500 of these over the last 2 days.
TIA!!!!!
-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON at palmettodomains.com]
Sent: Sunday, February 05, 2006 9:55 AM
To: apache at palmettodomains.com
Subject: Returned mail: see transcript for details
The
2009 Apr 11
0
sudo make check fails on OSX
Since snapshot rsync-HEAD-20090220-0710GMT.tar.gz
make check is successful but sudo make check fails
------------------------------------------------------------
----- overall results:
29 passed
3 failed
6 skipped
------------------------------------------------------------
failed
FAIL batch-mode
FAIL chmod-option
FAIL daemon-gzip-upload
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
2001 May 08
1
Config error - please help-continue
It didn't help :(
When I did ping to 192.168.1.1 from client machine I got the following in
syslog:
May 8 08:55:54 ns tinc.vpn_net[726]: Sending packet of 100 bytes to US_VPN
(x.x.x.x - inetIP)
May 8 08:55:55 ns tinc.vpn_net[726]: Incoming data socket error: Connection
refused
tcpdump -i tap0 gives this:
08:49:13.919331 ns.iris.bg > 192.168.1.1: icmp: echo request
08:49:14.919323
2005 Jul 23
2
link_stat
Hi there,
I set up my company's back up server using rsync.
And I've got a strange problem. I searched in the archives of this
list, but
none of them seems not giving me an idea to solve the problem.
If anyone can help, it would be grateful.
I'm using cron by a user (non wheel/admin) to rsync everyday during
the night.
The cron is set in the server to transfer the backing-up
2016 Feb 04
0
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Obviously you can ssh an rm -rf. Alternatively, if you are in a
restricted environment where you are only allowed to use rsync you can
rsync --delete an empty directory to it.
On 02/03/2016 08:33 PM, jupiter wrote:
> Hi,
>
> I am runing rsync --backup --backup-dir=$BACKUPDIR where the
> BACKUPDIR=$(date +%d) to recycle the $BACKUPDIR
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:
>