similar to: can't delete older file/directory links on another local partitionafter `snapshot' type backup script

Displaying 20 results from an estimated 10000 matches similar to: "can't delete older file/directory links on another local partitionafter `snapshot' type backup script"

2003 Mar 12
0
can't delete older file/directory links on another local partition after `snapshot' type backup script
Thanks for looking at this, and developing rsync. Really useful program that I rely on. Bit of a newbie but I couldn't find anything on this in these archives. Hopefully it's a really stupid question! I'm trying to backup using cp -al and then rsync -auR --delete backup idea basically as per http://www.mikerubel.org/computers/rsync_snapshots/#Incremental. I have a separate
2002 Sep 20
1
Rsync of several directories doesn't delete files
Hello. I'm trying to use rsync to keep a backup of a web server (named "www") on a separate machine (named "backup"). "Www" is running Trustix Linux 1.5 (kernel 2-2-20-2tr) with rsync 2.5.4 protocol 26. "Backup" is running OpenBSD 3.0. Rsync is using OpenSSH 3.1p1 as the transport. Files that are deleted from "www" are not deleted from
2005 Jan 07
1
Stuck with include/exclude options
Hello list, I try to keep a list of directories/files on windows in sync with the ones on a remote machine. Basically syncing works fine, however I am stuck/confused with the various possiblities using include/exclude options. Your help is very much appreciated. Here's the scenario: Local source dir: /cygdrive (seems to be required or else the cygwin-HOME is set) Remote destination dir:
2004 Nov 12
1
Keeping File Trees in Sync
Hi list, I try to keep a local file tree synchronized with the remote one. However, using the --delete option does not work as expected or at least as I whish it would. Here is an example of the local tree I'd like to sync: /dirA/subDirA /subDirB /dirB/subDirC On the remote machine I have: /dirA/subDirA /subDirB /dirB/subDirC /dirC Here is the rsync call I use: Executing rsync
2008 Nov 09
7
How to delete files older than X on backup during sync?
Hi list, I have been reading MAN pages and listarchives, but not found the answer to my question though I am sure it must be possible to acheive my wish. I wish to use rsync to create a backup BUT only keep the files for a limited period of time, EG two weeks. I have not yet been able to figure out how to do this inside rsync (while the backup is being performed) and my understanding of the
2008 Oct 22
1
Question regarding --delete-during/after and backup file cases
A good while ago I asked about difference between --delete-during/delay and --delete-after, when per-directory files are updated (all is perfectly clear for me here), but during the discussion there was a hint made by Wayne, that the outcome can differ in more situations: " It is useful for things such as --delay-updates --delete-delay (to have all updates happen more rapidly at the
2010 Jun 02
0
partimage-ng command line backup of LV snapshot
Perhaps slightly OT, but I am trying to speed up a backup script which takes an lv snapshot and does this: dd if=lv_snapshot | gzip -c > /destination/lv_file_name.gz Does anyone have an equivalent example using partimage-ng that they would be kind enough to share? - I have been told it would be much faster/more efficient, hence the question. Ten minutes of browsing the partimage-ng docs have
2013 Jun 14
1
Backup samba4 using LVM snapshot
Hi all! Is it possible to lock databases in private dir to make consistent LVM snapshot? I know about tdbbackup, but LVM snapshot is preferred way for me, cause it's already used for MySQL backup. --- Alexey Balekhov
2015 Sep 11
0
Re: Backup a VM (using live external snapshot and blockcommit)
On 09/11/2015 10:18 AM, Jérôme wrote: >> Yep, that about covers it. Note that the --quiesce step in snapshot >> creation requires qemu-guest-agent running in the guest, and that you >> trust interaction with your guest. > > Yes, I think I get this. I don't really figure out what these cases > could be. We're using Debian Jessie and I installed
2015 Sep 11
0
Re: Backup a VM (using live external snapshot and blockcommit)
On 09/11/2015 06:45 AM, Jérôme wrote: > AFAIU, live backups using libvirt may be done thanks to blockcommit as > explained here on the wiki [2]. > > -> Considering our use case, is this the recommended way? Yes, using active block-commit is the ideal way to perform a live backup. > > Assuming yes, here is the plan. > > I wrote a script that does > > #
2003 Feb 05
1
equivalence of gzipped and non-gzipped files?
I'm trying to get a backup system going using rsync --- bit of a newbie. Just wondering if there is a way I can get rsync to recognise that a non-gzipped file in one directory tree is equivalent to the same gzipped file in the (say backup) tree, or vice versa. Could this be done with the include/exclude features? I note that gzip doesn't alter the timestamp on a file when it zips
2011 Feb 22
1
problems making a daily backup via rsync.
Hi there: I'm doing a backup of some of my machines via rsync, and I have the next problem: ------------------ [Tue Feb 22 02:51:13 CET 2011] /usr/bin/rsync -az --delete --numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh root at server1:/var/spool/exim /data/backups/server1 [Tue Feb 22 02:51:28 CET 2011] /usr/bin/rsync -az --delete --numeric-ids --relative --delete-excluded
2003 Mar 22
5
CYGWIN Rsync exclude/include problem
I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to include/exclude files they way I expect it to. I have mulled over the list postings and man pages regarding this and I am either missing something or ... well I don' know. I have a drive with 12 folders in the root however, I only want to rsync 5 of them (the ones marked with an *) and in those 4 I want to exclude certain
2007 Nov 15
1
Problem with rsync recent file logic ?
Hello, I have 2 servers I'm synchronizing using rsync, I have a situation where I : 1. rsync from rnd-dev2 to rnd-dev1 2. change the rsynched file on rnd-dev1 3. rsync from rnd-dev2 to rnd-dev1 again 4. File gets overridden on rnd-dev1 over though it has newer change time then file on rnd-dev2. here is the bug(?) reproduction: [root@rnd-dev1 test_rsync]# rsync --version rsync version
2008 Aug 13
1
no backup for excluded files?
Hi, I use rsync 3.0.2 for daily incremental backups: rsync -aAzHRxby -f '. -' --numeric-ids --delete-during --delete-excluded \ --suffix='' --backup-dir=$BACKUP_ROOT/$BACKUP_HOST/${TODAY} \ ${DESTINATION}$BACKUP_ROOT/$BACKUP_HOST/current <<< $EXCLUDE_PATTERNS Sometimes I add a new item to $EXCLUDE_PATTERNS but then the excluded files are backed up in
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 Jul 01
1
mounting a snapshot for backup.
Hi I have an ocfs2 volume (1.4.1) on lvm2, which is made available on 2 nodes via dual primary drbd that is on it. I wanted to backup my volume, so naturally I made a snapshot of it via the lvm2, and tried to mount it for backing up. However, I got the following error in dmesg : [319981.478168] (23483,0):ocfs2_fill_super:700 ERROR: Unable to create per-mount debugfs root. I then searched
2015 Sep 11
3
Re: Backup a VM (using live external snapshot and blockcommit)
Hi Eric. Thank you so much for your quick and relieving answer. Le 2015-09-11 17:05, Eric Blake a écrit : > Yes, using active block-commit is the ideal way to perform a live backup. Great. > Yep, that about covers it. Note that the --quiesce step in snapshot > creation requires qemu-guest-agent running in the guest, and that you > trust interaction with your guest. Yes, I think
2016 May 05
0
Yet another filter question
On Wed, 4 May 2016 21:09:44 -0400 Kevin Korb <kmk at sanitarium.net> wrote: > That wording from the man page makes almost no sense without the > examples directly after it (and I have read it many times and know > what it is saying). Makes sense to me. The only thing I'd change is to use "in a depth first fasion" instead of "from the top down", "depth
2015 Sep 11
2
Backup a VM (using live external snapshot and blockcommit)
Hi. I'm following here a conversation that was initiated on Kashyap's website [1]. We have a server we use as a host for virtual machines using KVM (virt-manager used for VM creation) and we would like to setup VM backups. Basically, we're thinking of a backup schedule like "keep 7 daily and 4 weekly backups". We'd rather not shutdown the VM every day so live backups