Displaying 20 results from an estimated 300 matches similar to: "HELP: need better understanding of "--delete" flag"
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
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
>
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 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
2008 Mar 05
4
Unable to access registry
I'm attempting to get our Accounting software : Peachtree Premium Accounting to work under Wine in Ubuntu 7.10. The install went smoothly with 0 issues however when i try to run it , it takes about 10s and then exits w/out any errors. So i fired up its database manager since i know it tries to start it first and i get an error message saying Unable to access registry. I've seen that on
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
2004 Oct 28
1
Remote file deletion
I've a particular situation in which I need to sometimes
delete one or two files from a remote site. I haven't
figured out a way to do it with rsync yet... I've considered
playing games with --exclude and --delete but I'm a bit
nervous of the chances of mayhem by a simple error.
Situation is a remote repository to which files are
added on occasion; there is no local copy. On
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
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
2012 Apr 20
1
dsync: convert only mbox in /var/mail to maildir?
I'm migrating an old UW pop server to a new Dovecot server. The old server did
not allow mail to be stored on the server, so only mbox files exist in
/var/mail, with nothing in /home/$user. I'd like to copy the /var/mail
directory over to the new server and then use dsync to convert the mbox files
and put them in /home/$user/Maildir, but every permutation of the command line
I've
2006 Jul 14
2
Problems accessing CVS repository
Hi,
I have persistent problems to access the OpenSSH CVS repository as
anonymous user, once it has been checked out:
$ cvs -d anoncvs at anoncvs.mindrot.org:/cvs co openssh
[...works fine...]
$ cd openssh
$ cvs up
cannot create_adm_p /tmp/cvs-serv5471/contrib
Permission denied
The same happens when trying to use the second repository:
$ cvs -d anoncvs at
2007 Sep 20
3
[LLVMdev] Building current llvm-gcc-4.0 TOT fails on darwin x86
Hi Arnold,
deleting that is a bit rude, and svn will recover it
when doing "svn up" next time.
A better solution is to
cd llvm-gcc
svn switch libstdc++ missing
This permanently tells svn to see an empty dir instead of
the c++ lib.
Sabre wanted to put this into the README, dunno if this happened.
Cheers,
Gabor
Arnold Schwaighofer wrote:
> Ups just saw i forgot to delete
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
2010 Feb 03
7
Forcibly emptying a POP3 mailbox
Hello,
I've recently saw a discussion on this list, about a standardised way of
emptying POP3 mailboxes on the server - but no solution came up.
Please provide a suggestion for the following situation:
- I am running a stock POP3 dovecot server, on Fedora 12 (dovecot
version 1.2.9)
- passwd-file authentication via /etc/imap.passwd
- users are virtual, sharing the same UID/GID;
-
2000 Apr 03
1
2.0.7pre3: smbclient issues
My systems: rh61, 2.2.14 + smbfs-nls.patch.
I refer to 2.0.7pre3 as 2.0.7
=== 1) "ls" of an empty dir
1a)
1.9.18 doing "ls" to an empty samba dir:
smb: \> ls
49550 blocks of size 16384. 33754 blocks available
1b)
2.0.7 doing "ls" to an empty samba dir:
smb: \> ls
ERRDOS - ERRbadfile (File not found.) listing \* <=======
2003 Feb 22
1
rsync ported to BeOS-bone
Hello, here is a preliminary patch allowing rsync 2.5.6
to compile in BeOS (using the new BONE networking stack).
Some explanations:
- BeOS doesn't have chroot(),
- the BONE networking stack export legacy network function
for old apps in libnet.so (linked to by default), so it's
necessary to force linking to the new libraries for things
to work. I've yet to get inet_ntop() to be