Displaying 20 results from an estimated 10000 matches similar to: "Thorough distributed backup/sync strategy"
2008 Nov 19
2
are hardlinks supported when rsyncing over ssh?
Subject should be enough: are hardlinks supported when rsyncing over ssh?
I know that I cannot do anything with hardlinks if I'm using SSHFS over
FUSE, I was wondering if rsync is plagued by the same problem.
Matt
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
2011 Feb 07
1
Incremental backup with only delta into a separate file.
Hi All,
I am presently doing a small POC with rsync for incremental backup and
restore starategies.
I have come up with certain question down the line, can anyone help me with
the explanation.
Used the config and ideas from:
http://www.mikerubel.org/computers/rsync_snapshots/
The commands executed on two machines in sequence
Machine 1:
root at Andruil:~# vim testfile
root at Andruil:~# ls
2011 Jun 23
3
Using rsync as an incremental backup
I'm using rsync to do an incremental backup of my desktop here, to a
remote server as follows:
#/usr/bin/bash
old=$(date -d 'now - 1 week' +%Y-%m-%d)
new=$(date +%Y-%m-%d)
rsync -avP --delete --link-dest=../$dir /home/bakers
bakers at perturb.org:/home/bakers/backup/$new/
This is actually working GREAT! The only problem is that sometimes the
cronjob won't complete (internet is
2009 Feb 23
2
rsync incremental backup
Hi,
Presently I have the latest full backup in a 'current' directory and 30
day incrementals in 'YYYY-MM-DD' format directories. Without changing
that directory structure I'd like the 'YYYY-DD-MM' directories to
contain the full system hardlinked (when applicable) to 'current'.
What rsync command-line options could provide me with this?
Thanks,
2016 Jun 19
1
rsync script for snapshot backups
Am 19.06.2016 um 19:27 schrieb Simon Hobson:
> Dennis Steinkamp <dennis at lightandshadow.tv> wrote:
>
>> i tried to create a simple rsync script that should create daily backups from a ZFS storage and put them into a timestamp folder.
>> After creating the initial full backup, the following backups should only contain "new data" and the rest will be referenced
2010 May 31
3
scp port on remote hosts
Hello,
I would like to specify ports on both hosts to copy files between two
remote computeres. Is there any way to do this with scp? The -P flag
seems to apply to the port on the second host only.
Regards,
Miguel
2008 Oct 03
3
--link-dest behavior
Greetings All,
I've been thinking about the current behavior of the --link-dest=DIR
option. In the absence of --delete, ALL members of DIR should be linked
to the destination (aside from those that are changed). If not, there
should at least be a --no-link-dest-delete option. (This latter option
might be better to avoid disrupting the behavior of current rsync commands)
My rational: This
2010 May 14
2
command line to backup my documents to external drive
I'm really confused with all the examples out there and all different types
of incremental backups. I tried several scripts but cannot reduce the size
of my backup folders. What I want is to backup my documents to my external
drive every month and save as much disk space as possible.
Lets say I have 3 backup directories in the external drive, backup03.10,
backup04.10 and backup05.10. I want
2015 Apr 17
1
Recycling directories and backup performance. Was: Re: rsync --link-dest won't link even if existing file is out of date (fwd)
How do you handle snapshotting? or do you leave that to the block/fs virtualization
layer?
/kc
On Fri, Apr 17, 2015 at 01:35:27PM +1200, Henri Shustak said:
>> Our backup procudures have provision for looking back at previous directories, but there is not much to be gained with recycled directories. Without recycling, and after a failure, the latest available backup may not have much
2012 Apr 22
3
--link-dest isn't linking
rsync -Ha --link-dest=/media/4tb/bak/panic-2012-01-01 /media/2tb/bak/panic-2012-02-01 /media/4tb/bak/
root at dancer:/media/4tb/bak# ls -l panic*/home/darxus/0000_latest.jpg
-rw------- 15 darxus darxus 100772 1999-09-14 21:19 panic-2011-12-20/home/darxus/0000_latest.jpg
-rw------- 15 darxus darxus 100772 1999-09-14 21:19 panic-2012-01-01/home/darxus/0000_latest.jpg
-rw------- 1 darxus darxus
2009 Sep 10
2
originate sync from the daemon server
is there anything special to do this from the daemon server. I've setup
the /etc/rsyncd.conf with some filesystems and I would rather originate
(control) my rsyncs from this server and not from the hosts that have
the data I want. ie. I want to pull not push.
for instance my rsyncd.conf
[www]
comment = www
path = /snaps/www
numeric ids = true
log file = /snaps/rsync/logs/www.log
pid file
2008 Nov 08
2
Differential backup
Hello,
I have got three folders:
- /home/backup/2008-10-20 - place for differential backup
- /mnt/for_backup - folder with files for backup
- /home/backup/2008-10-01 - place where the last full backup is
My question: is below command prepared correctly to make differential
backup?
rsync -avPbn --backup-dir=/home/backup/2008-10-20/ --exclude "System
Volume Information" --exclude
2007 Dec 04
2
backup / compressed copy
Hi,
I think about buying a NAS-server from Sun. To backup this server I want
to use our central to-tape backup. For whatever reason ppl are asking me
to make one compressed copy to disk and only backup this copy.
So to reduce load I'd like to have a script that:
identifies changed files only (using md5?)
copies them
and compresses them
storeBackup.pl does something similar, but keeps
2015 Apr 16
2
Recycling directories and backup performance. Was: Re: rsync --link-dest won't link even if existing file is out of date (fwd)
rsync folks,
Henri Shustak <henri.shustak at gmail.com> wrote:
> LBackup always starts a new backup snapshot with an empty directory. I
> have been looking at extending --link-dest options to scan beyond just
> the previous successful backup to (failed backups / older backups).
> However, there are all kinds of edge cases which are worth considering
> with such a changes. At
2015 Apr 06
6
rsync --link-dest won't link even if existing file is out of date
Feature request: allow --link-dest dir to be linked to even if file exists
in target.
This statement from the man page is adhered to too strongly IMHO:
"This option works best when copying into an empty destination hierarchy, as
rsync treats existing files as definitive (so it never looks in the link-dest
dirs when a destination file already exists)".
I was suprised by this behaviour
2015 Nov 18
1
Empty directories aren't backed up in backup-dir
Hello,
We have strange issue with rsync and backup-dir option. In case of having
empty directories and deleting them, those directories are not backed up in
backup-dir directory. Directories are backed up only if contains files.
Scenario:
# mkdir -p source/b
# rsync -a --backup --backup-dir=../backup source/ destination/
# rm -rf source/b
# rsync -a --backup --backup-dir=../backup source/
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
2010 Feb 04
2
rsync for mailbox backup
Hi ..
Am using rsync to mirror all mailboxes to a backup server.
I have configured rsync to run every 1 min. we have around 50 mailboxws for now.
Plz advise if ok to run rsync every 1 min.
Thanks
CoolAtt
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-------------- next
2010 Jun 22
2
where is backup-dir rooted?
The current man text for rsync is rather sparse in what it tells you
about backup-dir
This is from my debian installation - which appears to have come from
the source here
--backup-dir=DIR
In combination with the --backup option, this tells rsync to
store all backups in the specified directory on the receiving
side. This can be used for incremental backups. You can addi?
tionally specify a