[SOLVED] Cant run rsync to back up files in Ubuntu 13.10 Linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently downloaded a few hundred songs.
I tried manually copying music files in "downloads" folder to USB. Failed.
I tried using rsync in the shell. Failed.
I tried using Deja Back Up Tool program which also gave me error
What error message do you get when these "fail"? that is important to know in order to diagnose this.
I am, off-hand, suspecting permissions in those instances. Not sure about the ntfs error; could be a driver issue maybe. I have no experience with that format.
Yes, it does look like a permissions issue. Have you tried placing "sudo" in front of the command you're using to copy your music to the usb drive? That may solve your problem.
jdk
Thanks Im going to post 2 pics. One of the error from copying manually and the other of the USB location. The link is the "rsync" command. The error says my "downloads" folder is not a directory
b8-435b-baee-74dfb65b5885
sending incremental file list
rsync: change_dir "/downloads" failed: No such file or directory (2)
sent 12 bytes received 12 bytes 48.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
sending incremental file list
rsync: change_dir "/downloads" failed: No such file or directory (2)
sent 12 bytes received 12 bytes 48.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
Same. I posted the link how to run "rsync". Im not asking shell correctly.
rsync: change_dir "/downloads" failed: No such file or directory
Unless your created a separate downloads directory, I would expect that error as the default name of that directory is: Downloads, with an upper case D.
Unless your created a separate downloads directory, I would expect that error as the default name of that directory is: Downloads, with an upper case D.
Getting the same exact error. Im almost sure Im running the command incorrectly. I tried reading up on using "rsync" but Im just not absorbing the information well enough to understand
Im confused if they are deleting the files and moving them to a new location? I just want to copy.. Its a comletely different command than I found in the documentation I originally ran the command.
What I would really like to do is just back up my Rythymbox with all the music. I cant find anything how to do that. I found backing up Rythymbox settings but nothing about backing up the music in Rythymbox.
Im confused if they are deleting the files and moving them to a new location?
The command in the link you posted indicates copying from Directory1 to Directory2 and states specifically that if Directory2 has a file that is not in Directory1, the file will be deleted, I would guess on Directory2. So make sure the directory you are copying TO does not have other files in it.
Where are you running the command from, your user /home directory? Somewhere else? Your posting the error messages but I don't see the actual command you ran.
You do know that Ubuntu 13.10 is no longer supported, no updates, no new Software without a lot of effort.
The command in the link you posted indicates copying from Directory1 to Directory2 and states specifically that if Directory2 has a file that is not in Directory1, the file will be deleted, I would guess on Directory2. So make sure the directory you are copying TO does not have other files in it.
Where are you running the command from, your user /home directory? Somewhere else? Your posting the error messages but I don't see the actual command you ran.
You do know that Ubuntu 13.10 is no longer supported, no updates, no new Software without a lot of effort.
No, what I want to do is what this link explains but it is not working for me
I just want to copy files from my "downloads" directory to my USB. Thats it. All the errors, screenshots, and the command I ran are in the posts above. I have NO IDEA why it is not working????
should be [RED]sudo rsync -av /Downloads/cocolate /media/46405fca-20b8-435b-baee-74dfb65b5885/cocolate[/RED]If that doesn't work change to /home/<user>/Downloads
It's capitol
Quote:
D
Also /media isn't correct it should be not have users name.
The problem with this command
should be [RED]sudo rsync -av /Downloads/cocolate /media/46405fca-20b8-435b-baee-74dfb65b5885/cocolate[/RED]If that doesn't work change to /home/<user>/Downloads
It's capitol
Also /media isn't correct it should be not have users name.
That seemed to work but when the files copied over the USB is blank???
This showed files copying in shell but when I opened USB there is nothing.
I haven't used 13.10 but, on 14.04 there is a user directory under /media and under /media/user you will see the various uuids which should include one for your flash/usb drive. When you run: ls /media from a terminal, do you see your user name or just the uuid? If you see your user name under /media, the command below should work to copy everything in your /home/user/Downloads directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.