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

learn more… | top users | synonyms

4
votes
1answer
215 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?
3
votes
1answer
2k views

How to upload a file to google drive?

I would like to just upload files to google drive from the command line. I don't care about synchronisation. I just want to upload things to google drive and if they exist they get replaced if not ...
3
votes
1answer
1k views

How to restore filesystem-backup made by rsync?

Running version 12.04, with Virtualmin/Webmin. I tried to remove all unnecessary linux-image files today, since the /boot partition was full. I followed a guide from Ask Ubuntu, but that resulted in ...
2
votes
1answer
44 views

How to automatically copy pictures with resizing to some directory?

I'd like to share some pictures with someone using Dropbox. However, I'd prefer to downgrade the resolution of them (they will only be viewed on screen on the other side, so there's no need for big ...
2
votes
1answer
196 views

rsync creating target directory with old date

I have a script that automates backups - hourly snapshots of my xubuntu 12.04LTS workstation. It creates a directory named according to the date and time, ie: 20140316-1033, representing 10:33 this ...
2
votes
1answer
4k views

How to use rsync via ssh with rsa key passphrases?

How can I use rsync with passphrases? All googled "solutions" i found use passphrase-less keys which seems no real option. i am runnning 2 ubuntu servers 12.04.2 LTS.
1
vote
1answer
21 views

On what folders never to use rsync on?

Excluding all subvolumes of the / folder with rsync -x what other folders should one never rsync? For example /dev sounds to be a bad idea for rsync.
1
vote
1answer
21 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
1
vote
1answer
114 views

Wildcards in exclude-filelist for duplicity

I am trying to exclude a "bulk" folder in each home directory from the backup. For this purpose, I have a line - /data/home/*/bulk in my exclude-filelist file. However, this doesn't seem to be ...
1
vote
1answer
119 views

Track file and folder name changes

I'm successfully running a remote backup of a small server over the internet using rsync. However, the process can be lengthy if the following happens. Let's say a large directory has had its name ...
1
vote
1answer
72 views

rsync --link des from a file

I am attempting to create a simple backup script and I'm struggling to get rsync to do incremental backups I don't want it to overwrite files in the current backup but to link to the old one and if ...
1
vote
1answer
484 views

Use rsync to change only the date modified of folders/files

I just transferred 1.8TB of data from an external hard drive to an internal hard drive using rsync, but I didn't add the "-t" flag, so the "Date Modified" for every file on the internal hard drive is ...
1
vote
1answer
810 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 ...
1
vote
1answer
1k views

rsync: Connection timed out

I am not able to list drectories through rsync: from Host2: user@host2#sudo rsync user@host1::share rsync: failed to connect to host1: Connection timed out (110) rsync error: error in socket IO ...
3
votes
0answers
175 views

How can I run a script when I unmount a particular usb drive?

I am trying to sync between a folder and usb drive, so that a) when I plug in a particular usb drive, a script runs to copy any newer files from the usb to the folder; and b) when I unmount the ...
2
votes
0answers
2k views

rsync: link_stat <PATH> failed: No such file or directory (2)

working with RSYNC on a command line project to sync my phone with my music folder based on a number of... options. Not sure why it's failing, but here goes: The command: sudo rsync -arvRn ...
2
votes
0answers
89 views

How can I synchronize all PDFs from one directory with Dropbox?

I want to synchronize all the PDFs from one directory (my Zotero library) to Dropbox. Finally, I want to have a list of all the PDFs, not the directory names. I successfully synchronized all my PDFs ...
1
vote
0answers
57 views

Resume cp that was interrupted

I was doing a huge cp command, copying 1TB and I had disconnected computer from network after 700GB. Files are still there but I can't anyhow to resume copying. I tried sudo rsync rsync ...
1
vote
0answers
143 views

How can I use rsync over AFP and SMB protocols?

I have a Lacie CloudBox NAS drive. I can acces the folders with no problems via the file explorer, however I would like to use rsync to sync some files. I have used rsync before to sync folders on a ...
1
vote
0answers
355 views

sudo -Hu rsyncuser rsync --progress -avz /source/path/ host.org:/destination/path/ - why does it change directory permissions?

here is my setup: on my source machine i created user rsyncuser with reading and writing permissions in /source/path on my destination machine i created user rsyncuser with reading and writing ...
1
vote
0answers
76 views

Backup regimen - is this plan any good?

I have a desktop that has some valuable personal and financial records, photos, etc. I installed a second drive formatted ext3 called 'internalbackup'. I've been using a variety of backup programs, ...
1
vote
0answers
360 views

Backup to remote win machine

I have to backup my data to a remote machine. The local machine run ubuntu 10.04 and the remote machine run winXP. Googling I found several discussion about this argument but none of them helps me to ...
1
vote
0answers
265 views

Auto run command in linux

I am trying to automate backup with rsync to an external hard disk. What I want to do is to execute this command automatically when external hard disk is plugged. I do not want to run it when other ...
0
votes
0answers
5 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 ...
0
votes
0answers
20 views

Windows shows junk directory name of samba share

I have two HDD in my Ubuntu 14.04 Linux Server box. I have shared Disk 1 which is of 500gb (/dev/sda1) through samba share. Disk 2 is of 1 TB (/dev/sdb1) and used to backup contents of Disk 1 daily at ...
0
votes
0answers
15 views

Rsync files to folder owned by another user in group

I have two users in my www-data group on my server: getent group www-data www-data:x:33:user2 I have a folder called logic where files have rights 664 -rw-rw-r-- and folders 775 drwxrwxr-x I try ...
0
votes
0answers
24 views

Samba File Server Configuration and Sync for Redundancy

I have two boxes which I installed Samba on. For now, I have a single user that access the server, however, I need to expand as to deploy in a production network. Below is what I want to achieve. ...
0
votes
0answers
31 views

Cannot Rsync to ec2 instance

This seems like the problem with the ubuntu user permission on ec2 server , cannot rsync successfully. Steps Taken: Generated public key from origin server (a normal ubuntu droplet with root user ...
0
votes
0answers
32 views

Desktop wallpaper config file

Is there a config file where Ubuntu saves it's desktop wallpaper config? My problem is I use luckybackup to sync my Ubuntu in my usb with the Ubuntu on my VirtualBox. That way, if I have to work, I ...
0
votes
0answers
14 views

grsync stops part way through copying

it seems to always stop at one point or another while syncing, and I don't know how to fix this. I'm using the default settings other than a few exclusions I needed to make to prevent a looping ...
0
votes
0answers
20 views

How can I restore my documents from a Time Machine backup?

I'm currently transitioning from OS X, and aside from finding replacement programs, what I miss the most about OS X is the use of the Time Machine feature. I currently have a drive that I used for ...
0
votes
0answers
139 views

Rsync error 23: some files were not transferred, when copying files from Windows drive to external HDD

I wanted to copy files from the Windows drive to external HDD using rsync, with the following command: rsync -azv --progress --exclude-from '/home/mint/exclude.txt' '/media/mint/OS/' ...
0
votes
0answers
37 views

Will these terminal commands allow me to backup my entire system?

I would like to backup my system in such a way that if I ever had to reinstall ubuntu I can very quickly return to my "old" setup. In other words, I would like to be able to recuperate all my files, ...
0
votes
0answers
123 views

rsync was working fine then started getting connection timed out errors

I've inherited some fairly old Linux installations and I'm very green in regards to Linux. The issue I'm having is server A (Ubuntu 8.04) backing up (basically copying) files to server B (Ubuntu ...
0
votes
0answers
41 views

Compressed backup solutions

The Question Is there a way I can use rsync, and enable compression of my data at the backup target? I'm aware of compression of data during transport, but I've disk space restrictions. I am ...
0
votes
0answers
45 views

System crash when using rsync to remote server with davfs2

I have been trying for some time to set up a folder on my computer to sync automatically with a online cloud storage system: box.com. There are several online tutorials showing how to set up the sync, ...
0
votes
0answers
39 views

How to use rsync properly?

I have a server with 3 seperate websites on it. I want to switch mail transfer agents from sendmail to postfix. Switching from sendmail to postfix means thatat sendmail will have to be uninstalled. ...
0
votes
0answers
28 views

How to rsync a home folder

I have a btrfs snapshot of my home folder ( let's say my snapshot is in /home/dan/snap1) How can I use rsync to "rollback" to that snapshot and not mess up things?
0
votes
0answers
158 views

Cannot get debmirror to download Release and Release.gpg files

We are having trouble getting our local Ubuntu mirror to download properly. Here is the command we run: ...
0
votes
0answers
17 views

rsync never terminates and makes Tb size snapshot directories

I have a cron job that runs rsync every day to download data from a server. It was working fine until the space allocated for me in the server was changed (probably increased). It happened as I was a ...
0
votes
0answers
86 views

Why is my read speed limited to 40 MB/s (< 25 %) reading from ext4 when compress-force is zlib and there's no CPU usage?

I'm moving data from an ext4 filesystem on a HDD connected with USB 3.0 which usually reads and writes with 170 MB/s to a btrfs subvolume on a SSD which usually reads and writes with 360 MB/s with ...
0
votes
0answers
169 views

Rsync creates error message unexplained error (code 255) at io.c(837)

When I try to rsync -qaPH source/ 192.168.1.21:/var/backups I get rsync: [sender] write error: Broken pipe (32) rsync error: unexplained error (code 255) at io.c(837) [sender=3.1.0] Whats wrong ...
0
votes
0answers
126 views

Syncing with a Samba share without mounting it

I have two Ubuntu computers on a home network, let's call them A and B. A runs Samba server and on B I use FreeFileSync to sync files between the two computers wirelessly. The problem is that every ...
0
votes
0answers
138 views

How to put running time constraints on rsync processes?

I want to set a time limit on my rsync backup processes. How do I best go about? According to this post, there is an option to do exactly that: --time-limit When this option is used rsync will stop ...
0
votes
0answers
8 views

Trying to run Unison

Today I have changed my static IP to a new set of numbers that were provided by my ISP and that has crashed my syncing process. I opened the 'default.prf' file and updated my destination IP address ...
0
votes
0answers
44 views

rsync stalling on files over wifi

I'm using rsync to transfer files over wifi but I'm finding some files just hang for a long time, and then start to transfer at a reasonable rate. rsync -r -v --progress --remove-source-files src ...
0
votes
0answers
73 views

files copied in usb hard drive using rsync disappear

I use Ubuntu server 12.04 and using rsync I successfuly copied files using rsync from server to the external usb hard drive which is plugged to the server all the time. For some reasons I reinstalled ...
0
votes
0answers
67 views

Mirroring 12.04 vps server to another vps server

I'm a new Linux user so I'll need a hand in this. I have a 12.04 server that I want a mirror image of on another vps. I was reading a bit on rsync but I am unsure of the command to put in to copy ...
0
votes
0answers
31 views

Copied File is Mutated

This problem has occurred three times--twice with me and once with a co-worker. I cannot reproduce to problem as it seems random. My co-worker copied a large (400 MB) file from OSX to an Ubuntu ...
0
votes
0answers
485 views

sudo not working after rsync - unable to open /etc/sudoers: Permission denied

Bought a new drive. Formatted to ext4, mounted the partition and ran sudo rsync -aAX --delete /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found} This moved all my ...