LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-27-2014, 10:32 PM   #1
Cocolate
Member
 
Registered: Jul 2013
Location: I live in an igloo
Distribution: Hoping to fix my Internets! xD
Posts: 107

Rep: Reputation: Disabled
Cant run rsync to back up files in Ubuntu 13.10 Linux


I recently downloaded a few hundred songs.

I loaded them into Rythymbox. Many of which I edited the song name or artist.

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

Code:
Permission denied when trying to create ‘/media/cocolate/46405fca-20b8-435b-baee-74dfb65b5885/duplicity-full.20140828T031657Z.vol1.difftar.gz’.
I formatted the USB to NTFS and I recieved the error "waiting for USB to be connected"

Last edited by Cocolate; 08-29-2014 at 12:34 PM.
 
Old 08-27-2014, 11:44 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Quote:
Originally Posted by Cocolate View Post
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.
 
Old 08-28-2014, 01:47 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 08-28-2014, 10:09 AM   #4
Cocolate
Member
 
Registered: Jul 2013
Location: I live in an igloo
Distribution: Hoping to fix my Internets! xD
Posts: 107

Original Poster
Rep: Reputation: Disabled
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

rsync -av /downloads/cocolate /media/cocolate/46405fca-20b8-435b-baee-74dfb65b5885

Code:
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]
http://www.psychocats.net/ubuntu/backup


And Deja Back Up says what I posted in the original post.

Here is the pic of the manual back up error and USB location
Attached Thumbnails
Click image for larger version

Name:	copy_error.png
Views:	19
Size:	49.9 KB
ID:	16244   Click image for larger version

Name:	usb_location.png
Views:	18
Size:	118.0 KB
ID:	16245  

Last edited by Cocolate; 08-28-2014 at 10:14 AM.
 
Old 08-28-2014, 10:49 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
And did you try putting sudo if front of the rsync command as I suggested earlier? If so, what were the results?
jdk
 
Old 08-28-2014, 11:39 AM   #6
Cocolate
Member
 
Registered: Jul 2013
Location: I live in an igloo
Distribution: Hoping to fix my Internets! xD
Posts: 107

Original Poster
Rep: Reputation: Disabled
Code:
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.

The link http://www.psychocats.net/ubuntu/backup says:

>Folder I want to back up / my username

>Location of where I want files copied / name of device


Yet thais is the error I get

Last edited by Cocolate; 08-28-2014 at 12:58 PM.
 
Old 08-28-2014, 01:18 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
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.
 
Old 08-28-2014, 01:41 PM   #8
Cocolate
Member
 
Registered: Jul 2013
Location: I live in an igloo
Distribution: Hoping to fix my Internets! xD
Posts: 107

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
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

http://www.howtogeek.com/135533/how-...data-on-linux/

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.

Any and all help is Greatly appreciated

Last edited by Cocolate; 08-28-2014 at 01:43 PM.
 
Old 08-28-2014, 04:57 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
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.

Last edited by yancek; 08-28-2014 at 04:58 PM.
 
Old 08-28-2014, 07:59 PM   #10
Cocolate
Member
 
Registered: Jul 2013
Location: I live in an igloo
Distribution: Hoping to fix my Internets! xD
Posts: 107

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
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

http://www.psychocats.net/ubuntu/backup

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????

Last edited by Cocolate; 08-28-2014 at 08:00 PM.
 
Old 08-28-2014, 08:48 PM   #11
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by Cocolate View Post

The link http://www.psychocats.net/ubuntu/backup says:

>Folder I want to back up / my username

>Location of where I want files copied / name of device


Yet thais is the error I get
That is NOT what that page says, try reading it again.

Also, you still have not posted the actual command that you are using, that would be very helpful.

Your source path is not correct, the error is telling you that there is no /downloads directory on your computer.

If you are telling it to backup /downloads/cocolate, that directory must exist and I bet it does not. What is the actual path to your music files?
 
Old 08-28-2014, 11:36 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The problem with this command
Quote:
rsync -av /downloads/cocolate /media/cocolate/46405fca-20b8-435b-baee-74dfb65b5885
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.

Last edited by EDDY1; 08-28-2014 at 11:43 PM.
 
Old 08-29-2014, 05:53 AM   #13
Cocolate
Member
 
Registered: Jul 2013
Location: I live in an igloo
Distribution: Hoping to fix my Internets! xD
Posts: 107

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
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.

Code:
sudo rsync -av /home/<user>/Downloads /media/46405fca-20b8-435b-baee-74dfb65b5885

Last edited by Cocolate; 08-29-2014 at 06:05 AM.
 
Old 08-29-2014, 08:47 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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.

Quote:
sudo rsync -av /home/<user>/Downloads /media/<user>/46405fca-20b8-435b-baee-74dfb65b5885
 
1 members found this post helpful.
Old 08-29-2014, 11:53 AM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Did you change <user> to your username?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backuppc not backing up all files? Toasterman Linux - Server 1 08-06-2014 05:44 PM
Backing up files via growisofs waddles Linux - Software 1 03-15-2013 11:01 AM
backing up files Optykall Linux - Newbie 3 07-20-2009 02:30 AM
Backing up with PAR files tw001_tw Slackware 2 07-09-2004 11:43 AM
Backing up KMail files artemis Linux - Newbie 2 03-02-2003 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration