Tagged Questions
3
votes
1answer
38 views
Rsync behavior in a cron script
I have an nfs device that creates checkpoint (backups) everyday. I want to use Rsync to copy these checkpoints to another device (Drobo connected via iSCSI). So I've run the script on a single nfs ...
0
votes
0answers
19 views
Restoring settings and packages to clean install
I recently backed up my entire filesystem to a network drive in order to allow me to delete the Ubuntu partition, move the partition on the disk and reinstall.
I then attempted to copy all of the ...
0
votes
1answer
32 views
How to exclude files in rsync?
I'm using ubuntu server 12.04, now I want to backup some files using rsync, here is a try:
rsync -aAX $HOME/Documents/* $HOME/Backups/TEST --exclude={$HOME/Documents/another/*,$HOME/Documents/temp/*} ...
1
vote
1answer
73 views
Errors with “Back in Time”
I get these errors with "Back in Time". Can someone explain how to avoid them?
[E] Error: rsync: symlink ...
0
votes
1answer
61 views
rsync remove old backup on remote PC
Good day
I use this script to backup my home PC to remote PC
#!/bin/bash
#Todays date in ISO-8601 format:
DAY0=`date -I`
#Yesterdays date in ISO-8601 format:
DAY1=`date -I -d "1 day ago"`
#The ...
5
votes
1answer
275 views
How to set up an rsync backup to Ubuntu securely?
I have been following various other tutorials and blog posts on setting up a Ubuntu machine as a backup "server" (I'll call it a server, but it's just running Ubuntu desktop) that I push new files to ...
1
vote
1answer
214 views
Bootable backup (clone)
I keep a backup of my settings and files using:
sudo rsync --verbose --recursive --links --perms / /media/backup/
Is it possible to use rsync (or other bash options) to make a bootable backup of ...
4
votes
1answer
110 views
How can I make rsync to switch to another harddrive automatically if space on the first one is full?
My problem is, how can I make rsync to switch to another harddrive automatically if space on the first one is full? Is there a simple way? Or even a way without using rsync?
1
vote
4answers
211 views
Directory mirroring over network
I need a software or any other way to backup my home directory instantly so that if my data is lost I have another copy over the network.
I have a NAS on my local network and I want to have an exact ...
2
votes
1answer
307 views
What are the advantages and disadventages of git or bzr + rsync vs rdiff-backup?
I used to use rsync to do backups, but then I switched to rdiff-backup to incremental backups.
Recently, I discovered git and bzr while working on a coding project.
So, I was thinking, I could have ...
3
votes
2answers
852 views
rsync not working between NTFS/FAT and EXT
I have music that I play in my car, from an FAT32 USB stick. The folder which I use to put songs on is stored on my EXT4 hard drive. I add/remove/retag songs regularly and occassionally want to ...
2
votes
0answers
200 views
Backup on shutdown [closed]
I am developing a system that runs an rsync every 15 min using cron. It rsync's the users directory to a local backup on another device.
I'd like to also run the rsync on shutdown or reboot.
How do ...
1
vote
1answer
252 views
Rsync permission issues via SSH
I am backing up a networked server via SSH. Unfortunately, I can't seem to figure out how to get root access to the networked server with Rsync. I am using the following command to perform the backup:
...
0
votes
1answer
511 views
Permission denied for many directories with Rsync
I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
0
votes
2answers
1k views
rsync verify a file already exists in dest folder so it will skip the copy on the 1st sync
I have been looking at different tutorials about rsync about some specific situation I have.
I have a home server with all my pics, this server is my backup, my PC is the one that receives the new ...
6
votes
2answers
942 views
Switch to using rdiff-backup for backups of / instead of rsync?
I usually use rsync to do backups, with a command like this:
rsync -avxz -e "ssh" --exclude ".gvfs" --numeric-ids / /media/Backup/slash/
How can I convert the arguments I use with rysnc to ...
2
votes
3answers
2k views
Backing up files from specific folders in rsync
How can I specify specific files to include/exclude in grsync/rsync?
Currently, I use different operations to backup files from only specified folders. I want to do it now in 1 pass. I think I ...
1
vote
2answers
640 views
Possible to preview what will rsync do, before overwriting/deleting files?
With SyncToy on Windows, I can preview what it will do to my files before commiting the changes. Is it possible to do the same with rsync or something similar?
3
votes
2answers
4k views
Forceably set permissions when running rsync
Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job.
...
8
votes
2answers
10k views
Backup files with rsync: error 23
I'm trying to make a backup of my /home to transfer all data from one computer to another. I wanted to save the backup on the same computer and than transfere it to another one. For safety reasons, ...
2
votes
4answers
2k views
Script for an incremental file system backup
I'd like to run the following incomplete script weekly in as a cron job to backup my home directory to an external drive mounted as /mnt/backups
#!/bin/bash
#
TIMEDATE=$(date +%b-%d-%Y-%k:%M)
...
4
votes
4answers
543 views
When is it appropriate to use `dump` vs `rsync`?
When is it appropriate to use dump vs rsync for backups?
4
votes
4answers
784 views
How can I substitute colons when I rsync on a USB key?
I would like to backup my mail directory on a USB key. However, my IMAP has a strange naming convention that something include a colon (:) character. Since the USB is in a window format, rsync fail ...
1
vote
0answers
14 views
What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer? [duplicate]
Possible Duplicate:
What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer?
What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a ...
7
votes
1answer
2k views
What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer?
Question says it all:
What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a transfer?
I know that rsnapshot tries to make a complete snapshot of your system in rotating ...
4
votes
1answer
1k views
How to rdiff-backup / rsnapshot / backupninja from LOCAL to REMOTE machine?
I'm a bit confused about doing backups with rsync/rdiff-backup / rsnapshot via SSH.
I've been looking at utilities such as backupninja and rsnapshot. These are rsync / rdiff based backup systems, ...