a utility used to sychronise files between locations (possibly over a network)

learn more… | top users | synonyms

0
votes
2answers
14 views

Secure and automatic backup with rsync

I sync files on a few different devices with a remote ssh server using rsync. The problem is that I sometimes forget to sync a device on which I've modified a file and this makes things complicated. ...
3
votes
1answer
18 views

Incremental backup script

I am using rsync command for incremental backup my requirement is incremental backup of modified files in different directory in same location name with current date but when i use rsync it store the ...
1
vote
1answer
28 views

Problem installing Ubuntu 14.04 alongside windows 8

I'm trying to install Ubuntu in my Dell Vostro 3546, which already has Windows 8 on it. I have a 320GB HDD with 2GB RAM. I am using a bootable USB drive to this. All goes well for the first part. I ...
1
vote
1answer
12 views

Rsync copy files that I don't have already using a list

I have two separate computers with the same MEDIA folder which is quite large. These folders have the same structure but in one computer there are more files. What I would like to do is something ...
0
votes
0answers
8 views

Get rsync to retry failed copied files from nautilus

I'm copying quite a few files. I was able to successfully copy >99% of them But unfortunately, some failed - from memory the error was something like; unable to copy file x, timed out, do you want to ...
2
votes
1answer
33 views

rsync flags for backing up /home/$USER/ [closed]

I am writing a basic script to backup some of the directories in $HOME. I started with the -aAV flags but wonder if I should include any more flags that are useful for backups. My current script is ...
3
votes
1answer
18 views

Can Rsync get incremental on files it hasn't touched yet?

I have an Ubuntu server which acts as a file server for a few Windows clients, using Samba. This server mirrors a couple of large directories to a support server using rsync. I need to replace the ...
2
votes
0answers
15 views

How to deal with mixed permissions while using rsync?

I have a directory which I wish to duplicate on a remote server using rsync. Incidentally, these files are put in the synced directory by use of a Samba share, from Windows clients. I've created a ...
0
votes
1answer
29 views

cannot view partitions after rsync restore: how to backup better?

I have done a backup using rsync and restored the system as a test. All went well except that I cannot click on the partition listing in nautilus anymore. When I do it complains about "This location ...
0
votes
1answer
43 views

Using rsync to back up a remote computer through a reverse ssh link

I can rsync to my remote computer, but cannot rsync from my remote computer--it doesn't seem to exchange a file list in that direction, so it tries to transfer all of a huge number of files rather ...
0
votes
1answer
39 views

rsync from local folder to mounted nfs share causes permission denied errors and nothing is copied

I have a home server that is sharing folders on the network using NFS. I have mounted these folders on my computer, for example: 192.168.1.20:/mnt/raiddisk/john /mnt/john nfs ...
0
votes
0answers
19 views

Use a backup to clone to a new machine

I'd like to clone my machine, to another one, from my backups (rsync & dump). Is it possible ? How should I do (extract HDD from the target machine and plug into my source machine ; or else) ? ...
1
vote
0answers
13 views

Ubuntu Software RAID server and VMware conversion tool

I have tried to find an answer to this, through several unsuccessful forum searches. I have a Hosted Virtual Private Ubuntu Server that I have no physical access to. I downloaded VMware's vCenter ...
0
votes
2answers
23 views

How to make rsync show system time after each file transfer?

Verbose option allows me to see each file that is transferred, I use options like --stats and --info=progress2 to show me some more information on transfer process. I want to figure out how to show ...
1
vote
1answer
28 views

Can cp completely overwrite a directory?

I'm wondering if there is a way to completely overwrite a directory that is being copied to without first needing to erase it with the rm command, meaning I don’t want to have files remaining in the ...
8
votes
2answers
1k views

Rsync, how much risky to use it live?

I rsync my disk live, I mean I'm making a rsync backup of the machine I'm using. Is it ok, safe, wise ? or very not ? Is it risky, if I want to use this backup for restoring or cloning then ?
0
votes
2answers
172 views

How to authenticate myself as root over rsync+ssh into a remote server?

I am trying to use the rsync command but I am getting "permission denied" because the pi user hasn't permission to write without the sudo command I am trying to move my apache2 folder from 10.0.2.2 ...
0
votes
1answer
43 views

To RAID or not?

I have the following setup: HP Microserver N40L 1 x 250GB HDisk 1 x 1TB HDisk 2 x 2TB Hdisks Ubuntu for OS Currently I use the server to backup the following hardware: 1 x MacBook Pro running ...
0
votes
2answers
44 views

How to Snapshot and Recover complete Linux system? [closed]

I have a laptop with Ubuntu installed on it and some other private software and files. I want to make a complete image of the current state of my system and than make backups on daily basis of my ...
0
votes
0answers
23 views

recover files from rsync

This may seem awfully stupid to have happened, but well ... perhaps there is still a way to fix it. There is a text file -- let's call it test.txt -- that I usually backup to my external hard drive ...
2
votes
2answers
131 views

To understand the behaviour of script when running over SSH

Alright, lately I have been facing an odd behavior. I have small bash script which simply takes mysql dump remotely and then store data on the server itself which later get rsynced to backup server. ...
1
vote
1answer
32 views

Turn cron job commands into executable script that can run manually

I was running my crontab that backups some folders, but since then, I have started the practice of shutting down my computer at night, so I find that they do not run...go figure right? :-) So my plan ...
0
votes
0answers
36 views

Linux based incremental disk image

I use dual boot Windows/Ubuntu. I have a Windows NTFS drive, Linux root, Linux Home, and a shared NTFS between my Linux and windows. I have plan to take disk clone backup from both my Windows OS and ...
0
votes
1answer
43 views

Permission denied problems after rsync with sudo on the remote

I was trying to move files from one server to another. From the source server, I ran sudo rsync. The process was done, but on the destination server, I'm getting permission denied with lsand cd. I ...
0
votes
0answers
24 views

How can I sync a folder on my Desktop (Ubuntu 12.04) into a folder on a server in my network?

How can I sync a folder on my Desktop (Ubuntu 12.04) into a folder on a server in my network which requires a password for authentication and being connected via port 714. How can I include the ...
0
votes
1answer
31 views

Change the bandwidth control on rsync while it's running

I'd like to alter the bandwidth usage on rsync while it's running large transfers on a shared Internet connection to play nicely with others. I thought something along the lines - "kill USR1 pid" ...
2
votes
2answers
202 views

How to cancel next job in order after rsync

If two jobs are entered into bash command line separated by semicolon: $ job 1; job 2; How do I cancel the second one? If I press CTRL+c, the first one will be canceled and 'job 2' would start, I ...
0
votes
0answers
46 views

Rsync over NFS hanging

When using rsync to back up a local system to an NFS server, the rsync processes all seem to get stuck after a few minutes. They are getting stuck on regular old files... most recently, syncing ...
0
votes
0answers
22 views

How to fix error i/o?

How to fix i/o this error? error message keep popping like screenshoot above Please see the error screen shoot above. this how it happen : when i do rsync some files suddenly port 22 close, then i ...
1
vote
1answer
51 views

Back In Time lost my backup profiles (ie configuration) — in GUI only

This seems a bit odd to me. In very short, as noted in the question BackInTime seems to have lost my backup profiles -- or perhaps more accurately, is not able to pull information about the profiles ...
1
vote
0answers
27 views

keep same inodes metadata with rsync or ignore metadata with du

I'm trying to synchronize two folders from a remote computer. I want to use rsync to send the folder, and du to check if the space used is identical on the remote computer. The problem is even with a ...
0
votes
1answer
56 views

Help Creating Rsync/Crontab script that checks if ExtHD is mounted before running

I have a toshiba 3tb ExtHD and it consistently gets unmounted if I say shutdown computer then turn it on to a live cd then reboot back into OS. Its a simple fix, all I do is unplug and re-plug the USB ...
0
votes
1answer
17 views

How to property setup rsync?

I want to sync all files and folders in my home directory expect for the ones that start with . This is what I have done so far: rsync -azPnv --delete /home/USER/ DESTINATION In order to ignore ...
0
votes
1answer
76 views

Cron rsync problem

I have a problem with my crontab setup for rsync. Forst here's my crontable: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * ...
1
vote
1answer
90 views

One rsync cronjob runs, but doesn't copy files

So my intention is to backup some key directory with my documents and my MySQL data file etc. I have a cronjob set and it seems to work for all commands in there. Files are copied daily into a backup ...
0
votes
1answer
23 views

Properly backup OS/Boot partition

I have two drives in a media server that two different sizes, so I can't run raid on it. However I would like to backup my OS partition so that if Drive 1 fails I can just swap them, update grub/boot ...
1
vote
1answer
73 views

How can I exclude all subdirectories but include files of a directory in rsync?

I want to backup my Ubuntu system and I have two partitions to care: One is /, another is /home. I'll likely want to backup /. This is not even that big so I can carry it on my SD card, while being ...
0
votes
0answers
25 views

How do I keep files in destinations path whereas it is not existed in source path with rsync?

I want to keep my files in destination path, but it doesn't seem possible. here's my situation. test directory(source path) have some files. they are test1.txt, test2.txt, test3.txt, test4.txt, ...
0
votes
1answer
214 views

15.04: rsync connection refused

I upgraded to Ubuntu 15.04 this weekend. Now, rsync won't play nice anymore: When I try to run this: beheer@boson:~ $ rsync -Wvvqaz --log-file=rs.txt --delete-excluded --delete --no-g ...
0
votes
0answers
17 views

rsync 2 folders into a different folder

I am looking to rsync 2 folders into a 3rd folder; eg. a local dropbox folder and a google drive folder into my backup drive (/backup). I have seen examples of syncing a single folder using the ...
0
votes
2answers
533 views

rsync over ssh “error in protocol data stream” (code 12). ssh works

I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] ...
0
votes
1answer
33 views

rsync back up of entire root system not working using --exclude?

I am trying to do a system back up of my entire OS I am using these command and both are not excluding the files I want sudo rsync -avz --exclude="/tmp" --exclude="/sys" --exclude="/lost+found" ...
3
votes
1answer
85 views

File sharing between Mac OS and Ubuntu

I am pretty new to Ubuntu so please if you can answer to this question explicitly. I have two laptops one is running on MAC OS X 10.8.5 (OS X Mountain Lion) and the other one running Ubuntu 14.04 LTS. ...
0
votes
0answers
105 views

Why does rsync run in crontab not work the same as from the command line?

I have rsync scheduled to run in my root crontab with the archive option: 0 22 * * 6 /usr/bin/rsync -avv --delete --log-file=/home/brian/rsync.log /home /media/wdsentinel/home_backup When I add ...
2
votes
0answers
53 views

Difference in copying files recursively from a drive using rsync

I've used the command below to copy files from Windows drive to an external HDD, using the command: rsync -azv --progress --exclude "/Windows" --exclude "/Program Files" --exclude "Program Files ...
2
votes
1answer
73 views

Use rsync to backup .ecryptfs, but also use exclude some folders inside

I want to backup the /home/.ecryptfs folder on my machine using rsync. I don't want to back up the unencrypted files. However, I want to exclude certain folders. For example, music, downloads, or ...
2
votes
1answer
50 views

btrfs: Resultant copy is twice the size of source

I just got an SSD and wanted to migrate my current Ubuntu installation to take advantage of its performance. So I booted to an Ubuntu live CD, mounted source (ext4) and target (SSD, btrfs mounted ...
0
votes
0answers
56 views

Moving Files from Mac OS Yosemite to Ubuntu 14.04

I have a Ubuntu 14.04 Machine that I am using as a file server. I would like to automate a backup of the files that are on my Mac's HFS formatted hard drive. I am not sure how to do this without ...
1
vote
2answers
71 views

rsync ignores /home directory

I'm trying to backup my whole HDD by using the following script: rsync -vaxE --progress --delete --log-file='./rsync-log' / /media/me/Backup/ It works as expected except for one thing - it copies ...
1
vote
2answers
123 views

Rsync --delete option doesn't delete files in target directory

I'm trying to use the --delete option in rsync to delete files in the target directory which isn't present in the original directory Here is the command I'm using: rsync -avz --ignore-existing ...