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

learn more… | top users | synonyms

0
votes
0answers
13 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
1answer
17 views

Transfer files from maintenance shell

I am running ubuntu 14.04. I attempted to boot my computer and I received the following error: General error mounting filesystems. A maintenance shell will now be started. CONTROL-D will terminate ...
4
votes
3answers
140 views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
0
votes
0answers
19 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
2answers
34 views

Crontab command does not function properly

I have the following crontab entry to automate copying of my files to separate W/S in the network. However, it does not copy the files but produce the log file. here is the file contents #! ...
2
votes
2answers
55 views

Is there any GUI application for command rsync?

I am currently synchronize between local folders in my computer by following command: rsync -av --delete "[source]" "[destination]" Now I want to do this via GUI. so, Is there any GUI available for ...
0
votes
1answer
34 views

Remote rsnapshot failing with “Permission denied” error

I'm trying to set up remote backups with rsnapshot from my home server. I want my server to connect into my laptop and take backups over SSH.Everything is set up correctly and I can connect from my ...
3
votes
3answers
115 views

How do I move thousands of files from a list?

So, I have a list of files in a text file. I believe it's about 100,000 files. The files in said list are spread across many directories, have different sizes, filenames, extensions, ages, etc. I am ...
1
vote
1answer
76 views

Copy data held by www-data over ssh

I have an apache server (machine #1) holding a database which I want to rsync distantly (the server is actually owncloud, for those who know). My data is maintained by the server and its rights are ...
2
votes
0answers
37 views

How can I run a simple rsync shell script at boot with root? [duplicate]

I have a shell script that contains a single rsync command to rsync two local directories. I want the script to run at startup/during boot and I can't seem to find the solution for this problem. ...
1
vote
1answer
37 views

Writing a script to rsync all directories

I have a huge set of backup files, each containing a directory of Videos. Each video directory is slightly different. I would like to merge these into a single directory to conserve, as I don't ...
1
vote
2answers
63 views

Automating rsync commands

I currently have too many rsync commands that I run on a day to day basis. Could someone be kind enough to let me know how I can automate these commands? I am new to Linux so a little bit of ...
0
votes
1answer
51 views

How can I configure a second SSH key + user for a single server?

I have a SSH key which is passphrase-protected. Authentication to the server is by SSH key only, password authentication is disabled. Both the server and my desktop run Ubuntu 14.04 and authentication ...
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 ...
0
votes
1answer
23 views

Partial (specific releases) mirror of Ubuntu Archive via rsync only

I'm looking to build a Ubuntu repository archive for both i386/x64 architectures on 12.04 (precise). This is to bring in to a facility where I am working with no Internet connection. Circumstances ...
0
votes
1answer
24 views

Full Rackspace cloud server backup to local

I want to rsync my entire Rackspace cloud server disk to a local drive. The command I am currently using is: rsync --dry-run --archive --xattrs --compress --partial --progress ...
-1
votes
1answer
88 views

rsnapshot bug with 14.04 - rsync not found error [closed]

Using rsnapshot with the +rsync_long_args=--rsync-path="sudo rsync" command fails with a rsync not found error. If I do a rsync only without using rsnapshot the command works find so it's not related ...
0
votes
2answers
145 views

rsync exclude hidden files doesnt work!

I’ve searched all over the internet and everybody suggests the same thing - that adding --exclude=´.*´ should exclude hidden files and folders from an rsync. It doesn’t. I´ve also tried adding a ...
2
votes
1answer
32 views

How to unsync two folders?

I have Ubuntu One and Dropbox folders synced. Now when Ubuntu One is shutting down, I want to delete U1 folder so it does not use space unnecessary. The problem is that if I delete U1 folder, Dropbox ...
0
votes
1answer
401 views

How do I make rsync delete files that have been deleted from the source folder?

I recently set up a machine with Ubuntu Server to host game servers. I installed a backup plugin for each game server that creates frequent backups of game world files in a particular folder on the ...
3
votes
3answers
103 views

Syncing dm-crypted drives?

I have 2 usb sticks, 8GB each: usb1 = /dev/sdb usb2 = /dev/sdc usb1 is a full dm-crypted drive and I am currently using usb2 as a backup, just incase usb1 fails. I am cloning usb1 to usb2 using ...
0
votes
0answers
29 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
138 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 ...
1
vote
1answer
247 views

Rsync - memory usage

I am running on Xubuntu 14.04 and experiencing high memory usage of rsync. With a fresh start, the system is OK. I have rsync running in a cronjob, after/during rsync memory usage increases and stays ...
11
votes
4answers
989 views

Can someone explain this rsync command for me?

Can anybody tell me what this does? rsync -uva --delete /srv/bkp01 /srv/offbk2/ > ~/offbkp01.log Does it delete bkp01 and offbk2 and sends a log to offbkp01.log?
1
vote
2answers
339 views

Start the Rsync daemon to synchronize a directory between two servers

I want to synchronize a directory on the server A to a server B. On the server A I created a file rsyncd.conf with the content: uid = rsync gid = rsync use chroot = no ...
0
votes
1answer
29 views

What is the -D switch in rsync?

What is the -D switch in rsync? Okay manpage says -D same as --devices --specials -g, --group preserve group --devices preserve device files ...
1
vote
1answer
84 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 ...
2
votes
1answer
74 views

How to get a timestamp on rsync output

I have an hourly crontab job @hourly rsync -avc --delete /DirA/ /DirB/ > /home/job.txt However when I check the logbook I see no timestamps. How can I get timestamps in the log so that I can be ...
2
votes
1answer
1k 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 ...
0
votes
1answer
73 views

can't log into ubuntu after rsync restore of home folder

I have recently reinstalled ubuntu/lubuntu 14.04 onto my wife's Packard Bell Dot S netbook after an unsuccessful upgrade from 12.04. I followed this by restoring the home directory from a backup using ...
0
votes
0answers
135 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
14 views

Cannot scp/rsync into live cd [duplicate]

I'm trying to scp into a box running 12.04 32bit livecd. The machines are connected to same switch & can ping each other just fine. I use the usual args, eg- scp -rp ...
0
votes
1answer
112 views

HDD failure recovery: Déjà Dup vs rsync

I want my data to be prepared as much as possible for a hardware failure (especially HDD crash). I've already "lost" in the past 2 HDDs, so I know the frustration that comes with it. I am already ...
0
votes
1answer
110 views

Backup and Disaster recovery moving from Windows XP

I have recently migrated from Windows XP to Ubuntu 12.04 LTS and am trying to understand how to reproduce the functionality I used in Windows for backups, and if possible improve it. I used to run ...
0
votes
1answer
46 views

using rsync between 2 ubuntu servers having a folder with SPACE in the name, how to make it work?

I used rsync alot, but never found out how to copy a folder which had a space in the name. like this : sudo rsync -rv myuseraccount@192.168.xxx.xx:/data/svn/my folder /data/svn/ i tried already ...
2
votes
1answer
44 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 ...
0
votes
1answer
24 views

What happens if a file listed for backup with rsync is in use?

I have a cron job to rsync certain files from my home folder every hour. Would anything bad happen if a file scheduled to be backed up is being edited at the time of backup? Right now, I am avoiding ...
0
votes
1answer
35 views

Configure rsnapshot to keep initial(first) backup forever?

How could I tell rsnapshot to keep the initial (ie., the very first backup) backup of my server forever, incase I may need it in some rare time (like for some files in /etc directory ) ?
0
votes
0answers
124 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 ...
2
votes
1answer
57 views

rsync isn't creating files or folders

I'm still relatively new to Ubuntu and Linux. I've got a windows machine with a DAS. I've got about 5TB of data on it, and I want to use my server running 12.04 to back it up daily / weekly. I've ...
0
votes
1answer
155 views

rsync two existing directories copying everything

I have two file servers in two locations. Currently both have the same data, which generally is unmodified (used for read only access).When the second server was set up (the one I'm sshing to) the ...
1
vote
1answer
157 views

Remote backup with a file by file encryption?

I want to do remote backups over Internet (so limited bandwidth) from an Ubuntu server to a iMac machine (POSIX compliant) supporting both ssh and rsync. I do have sudo rights on both machines. The ...
2
votes
1answer
44 views

Check when folder was last synchronized with rsync

I'm using a cron job to backup a folder to another computer. I'm not sure whether or not it succeeded and /var/log/rsync.log is only showing errors, all of which occured before the scheduled backup. ...
0
votes
2answers
36 views

Moving from SVN to GIT , best way to copy full repos?

We are changing from SVN to GIT, and I wonder which is the best way to copy the files from one to another server. For that I would use rsync but I need to know if I can first copy the files and than ...
0
votes
0answers
98 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
307 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 ...
1
vote
1answer
33 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 ...
0
votes
0answers
109 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
1answer
116 views

Help with rsync excludes not working

I'm trying to setup rsync to keep an image on the my external drive current. I've got 4 partitions to deal with: /, /boot, /home, /usr. I want to mount each one in turn and sync each with the ...