Questions tagged [rsnapshot]

19 questions
7
votes
1 answer

rsync error: symlink has no referent

I am trying to configure rsnapshot (which uses rsync) to backup a Windows server but I am having trouble with rsync being unable to follow a symlink on the server to be backed up. Setup: Windows Server 2008 R2 with Cygwin installed which holds…
Marek
  • 71
6
votes
4 answers

Linux using 15GB of RAM with nothing

I'm having a problem with my linux server, I searched many times but I couldn't find a case like mine. I have a linux server with 32GB RAM, it's fine when it boots but after some days in execution the RAM gets used for basically nothing. Below is…
6
votes
1 answer

Why does rsnapshot's sync/sync_first command backup ALL my files everytime?

I'm trying to get rsnapshot working for remote backups (via ssh). I have a working configuration and I can perform all my backups. In my conf I have enabled sync_first=1. As I understand it, this means that I have to always first run the rsnapshot…
5
votes
3 answers

Are there technical reasons why specific directories can or should be excluded from backup in Linux, and what are those directories?

I am doing a backup of my Linux CentOS 6 using Rsapshot. I already have daily backups that do only critical things like databases and emails. However, I'd like to set-up a "total" backup where nearly the whole machine will be mirrored. This is for…
Danijel
  • 742
  • 12
  • 27
4
votes
2 answers

Rsnapshot --exclude-from file not working for sub directories

I am doing a remote backup. This are my rsnapshot config. config_version 1.2 snapshot_root /data/sbackup/ cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh cmd_logger /usr/bin/logger interval alpha …
4
votes
1 answer

"Reverse incremental" backup for Windows?

I am looking for a way to make a "reverse incremental" backup under Windows. What I mean by reverse incremental is: source folder (S): files a,b,c,d,e,f,g,h target folder: newest backup (let's call it 0 (as zero)) has all files…
meow
  • 231
3
votes
1 answer

Rsnapshot permissions issue when performing remote backup of Macbook

I am using rsnapshot on my home server to take backups of my macbook over SSH. Everything is configured and working correctly but I have an issue with the permissions. Because I have different users on my macbook and home server, the backed-up files…
3
votes
1 answer

Why is rsnapshot not giving stats, even with rsync --stats

I have been fighting with this for over 6 months now. I have rsnapshot set up to do periodic backups in cron and send a stats email but I am getting this content in the email: ERRORS /home/ NO STATS DATA I have run rsnapshot manually, and it…
mp035
  • 133
2
votes
0 answers

How to Implement Retention Policies with rdiff-backup?

I'm currently using rdiff-backup on a Debian system to perform daily backups via a cron job like so: rdiff-backup /var/www/html/ /backup/rdiff/html/ However, this approach is generating a large number of backup files. Previously, when I was using…
marlar
  • 487
1
vote
0 answers

How to safely back up a sparsebundle that is exported via afpd?

I have several OSX client machines that back up via TimeMachine to AFP shares on an Ubuntu Linux server, exported by netatalk/afpd. These clients back up at arbitrary times of the day, every day. There are other important non-TimeMachine AFP shares…
davidA
  • 372
1
vote
0 answers

rsnapshot doesn't backup new folders

I am facing a weird behavior with rsnapshot. I am using it on a dedicated backup server to backup several machines. One of them is nextcloud. The data folder is mounted to the nextcloud VM under /data/ per nfs from the Host machine. At the first run…
Max
  • 113
1
vote
1 answer

rsnapshot: What's wrong with my crontab?

I am using Rsnapshot for backups (Linux CentOS 6). Here is my /etc/cron.d/rsnapshot: 30 11 * * * root /usr/bin/rsnapshot nowandthen > /backups/rsnapshot_cron.txt 2>&1 15 11 * * 4 root /usr/bin/rsnapshot weekly > /backups/rsnapshot_cron.txt…
Danijel
  • 742
  • 12
  • 27
0
votes
1 answer

rsnapshot or similar tool for no added size differential backup

I've currently got a backup that backs up all my files to an external hard drive, but currently I am traveling and I want to backup file changes, but without having to duplicate all the files, or create a git repo that would be the size of my…
srccon
  • 29
0
votes
1 answer

rsnapshot: how to remove all files from a tree including read-only directories

I just discovered that rm -f can not remove files from a tree including read-only directories. Is there an alternative command that can do this? The removal is triggered by rnapshot and I thought about providing a different value for "cmd_rm". The…
Erwin411
  • 101
  • 1
0
votes
1 answer

rsnapshot / cp-al: duplicate files on mounted NFS share

The Scenario I'm backing up one of my Debian wheezy machines via rsnapshot. The target directory is a mounted NFS share. A Qnap NAS serves this target directory. The Problem But rsnapshot complains about some file already existing, when it tries to…
lajuette
  • 4,852
1
2