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

learn more… | top users | synonyms

4
votes
1answer
196 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
29 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
104 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
17 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
102 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
46 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
348 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
688 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 ...
1
vote
1answer
427 views

I need to sync my Postfix config to a second server and have Postfix reload when changes are made

I'd like to start out saying that I know enough Linux commands to be dangerous :-) With that warning out of the way, here is what I am trying to figure out how to handle. Currently I have a single ...
1
vote
1answer
283 views

How to backup a windows share to another windows share using rsync?

I have two windows shares mounted and I would like to be able to backup the first into the second. The shares are found on a windows server 2003 machine. I was able to copy one folder to another ...
0
votes
1answer
30 views

rsync --include-from not working

The man pages do not have examples for this. I am having a hard time telling rsync to only include some file where those files. I don't understand why you have to exclude in order to include, why the ...
0
votes
1answer
37 views

How to access my NAS via the command line using rsync

I have always been accessing my NAS (dlink-343) via the gui in Caja or Nautilus. The connection says smb://dlink-15gtac. How can I access my NAS via the command line if I want to copy files to there, ...
0
votes
1answer
62 views

How to create local repository using apt-mirror and mirrorkit for selected architecture, release, spin

Having a local repository can be very useful. It is possible to use rsync to create a repository mirror, but this results in all the releases being downloaded, even older ones and would include files ...
2
votes
0answers
145 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
86 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
86 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
290 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
112 views

Owner, xattr on encrypted remote backup

I am trying to configure an encrypted remote backup. My approach is to backup my data to a local drive which is encrypted using ecryptfs (mounted with mount -t ecryptfs /lower_folder /upper_folder) ...
1
vote
0answers
72 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
175 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 ...
1
vote
0answers
41 views

Rsync option that preserves both link to the directory and directory itself

Is there an option in rsync to copy the link and at the same time copy the directory the link points to while preserving the link? Example command: rsync -arv --delete /var REMOTE:/backup/ where ...
1
vote
0answers
310 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
250 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
14 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
13 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
38 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
24 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
43 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
27 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
39 views

Mirroring files over a flaky USB connection

Due to a hardware failure I currently have to use an 8 year old notebook. The hard drive of the device in repair is in a external-hdd USB enclosure, but the USB ports of the old notebook don't allow a ...
0
votes
0answers
7 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
25 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
48 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
45 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 ...
0
votes
0answers
24 views

Why rsync still tries to copy and complains not enough space?

I am using rsync to copy one big file (> 4 GB) from hard disk to usb drive with "-av --progress" option. Before that, the file already exists on the usb and is the same as the one on disk. So ...
0
votes
0answers
46 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
30 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
407 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 ...
0
votes
0answers
175 views

Incremental Backups using DejaDup to Cloud like Dropbox, Gdrive on 14.04

I'd like to have an incremental backup of a synced folder into a cloud service using DejaDup. The same thing I used to do with UbuntuOne that now is no more available. I'd like to use free cloud ...
0
votes
0answers
376 views

How to fix this rsync script?

rsync directory always starts in the home directory, but I want to sync files into a directory inside of a .kde directory. I tried this: rsync -avc -e ssh root@xxx.xx.x.xx:/var/www/.../backup/docdata ...
0
votes
0answers
124 views

Rsync setup: cannot get rsync command to work

I've been trying to successfully run rsync for days and come close, but still have no idea why it's not working... and I am getting further away from success. I posted the below input and resulting ...
0
votes
0answers
516 views

Backup with rsync via smb

I have a netbook running Lubuntu 13.10 and a Windows PC running Windows 7 Home Premium. I can copy the folders I want to backup from my Lubuntu, go the folder named "Backup" on my Windows PC Desktop ...
0
votes
0answers
142 views

Problems with Extended Attributes limits in Linux kernel + XFS when making a rsync backup for OS X computers

If I understands it correctly XFS don't have a limit to the size of extended attributes(EA) but Linux kernel impose a limit at 64k? What I am trying to do is build a backup server that our Apple ...
0
votes
0answers
63 views

cannot write to hfs+

I have a journaled hfs+ usb-drive ubuntu native (it has never been in direct contact with a Mac). I created the drive with gparted and I use it to backup a MacDrive with rsync -avz /MacDrive/ ...
0
votes
0answers
132 views

Copying from mounted USB to mounted NAS: permission denied

I have two mounting points in /etc/fstab and they look like this: # NAS mount //192.168.1.2/[mountdir] /mnt/[mountdir] cifs ...