Displaying 20 results from an estimated 300 matches similar to: "rsync script from homepage: trouble"
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
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
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 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 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 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
2000 Feb 03
2
Problems authenticating against NT PDC
I'm relatively new to Samba so please excuse any inconsistencies with my
terminology.
I'm running Samba 2.0.6 on Solaris 2.6 and having problems creating the Samba
server machine account on an NT PDC.
I already have an NT based domain 'PCDEV' which consists of a number of NT 4.0
workstations as well as a PDC ('AULE') and BDC running NT 4.0 Server with sp5
(??). My NT
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
>
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
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
2008 May 06
3
DO NOT REPLY [Bug 5440] New: 'relative' test fails on SunOs 5.8
https://bugzilla.samba.org/show_bug.cgi?id=5440
Summary: 'relative' test fails on SunOs 5.8
Product: rsync
Version: 3.0.2
Platform: Sparc
OS/Version: SunOS
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: brianegge@yahoo.com
2010 Feb 21
2
some file are not there
hi
i try to backup some dir of my hd
i had an old script... but i lost it...
i tried to create a new one, without success
include.txt
+ .kde/
+ .kde/share/
+ .kde/share/apps/
+ .kde/share/apps/kmail/***
+ .kde/share/apps/kwallet/***
- .**
exclude.txt
rpm/
mp3/
Download/
.*
my backup script:
#!/bin/sh
# directory to backup
BDIR=/home/$USER
#destination
DEST=/dev/sr0
# excludes file
2003 Jan 09
2
Help With Restoring
Hi All,
I have been using rsync to backup to a central server with a 7 day
incremental script on 2 Redhat boxen.
#!/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin
DAY=`date +%A`
export PATH DAY
[ -d /root/emptydir ] || mkdir /root/emptydir
rsync --rsh=/usr/bin/ssh --delete -a /root/emptydir/
CENTRAL_SERVER_IP:/backup2/BACKED_UP_SERVER_FQDN/$DAY
rmdir /root/emptydir
rsync --delete
2007 Nov 02
0
build/test problems with rsync-3.0.0pre4
Hi,
I tried to build rsync-3.0.0pre4 on a list of different plattforms
and got some problems with build or test suite.
first, the good news: the build and tests worked fine on these plattforms
Solaris 5.5.1, 5.6 and 5.8 (sparc) and 5.10 (x86 and sparc)
SUSE Linux 9.0 (amd64), 10.1 (amd6) SLES10 (32 and 64 bit)
RedHat 7.1 and 9.0 (32 bit)
RedHat EL3 (ia64)
problems
2007 Sep 26
4
Rsync and opened files
Hello,
I'm trying to determine if rsync is a sure method of backing up servers (Linux and Windows) whose files are constantly being accesed and are not able to be stoped they're services for backing up purposes... I would use it over ssh for making incremental backups... in my tests seem to always have worked backing up from a debian server to the copy server that runs debian too...