Page 1 of 1

Mint Backup failure

Posted: Wed Jun 10, 2009 6:52 pm
by pewterbot9
Using program mintBackup, it spit out the following error:

An error occurred during the backup: tar cvWf home_20090610025355.backup * .adobe .audacity1.3-zeke .audacity-data .bash_history .bash_logout .cache .checkgmail .config .gconf .gconfd .gegl-0.0 .gftp .gimp-2.6 .gkrellm2 .gksu.lock .gnome2 .gnome2_private .gnupg .grip .grip-oggenc .grsync .gstreamer-0.10 .gtkboard .gtk-bookmarks .icons .java .libquicktime_codecs .linuxmint .local .macromedia .mozilla .mozilla-thunderbird .mplayer .nautilus .nessusrc .nexuiz .ogv .openme.prefs .openoffice.org2 .pan2 .parallelrealities .profile .pulse .pulse-cookie .pybackpack .python-eggs .qt .RadicalComicDesigner .recently-used .recently-used.xbel .sane .scim .screenlets .searchmonkey .shutter .SpiderOak .ssh .sudo_as_admin_successful .swp .themes .thumbnails .tilda .tomboy .tomboy.log .ubuntu-tweak .update-manager-core .update-manager-core .update-notifier .usb-creator.log .utube .utube.conf .VirtualBox .w3m .wapi .wine .wireshark .wmii-3.5 .wound-up .wvdial.conf .Xauthority .xfe .xine .xmcdcfg .xsession-errors .yafc --> 256


What on earth is wrong? TIA. (I'm a newbie BTW.)

Re: Mint Backup failure

Posted: Fri Jun 12, 2009 6:35 am
by Husse
The error indicates that a bunch of hidden files were not backed up
Check that the disk is not full
It could be something with hidden files but there are more hidden files so I don't think so

Re: Mint Backup failure

Posted: Fri Jun 12, 2009 6:28 pm
by pewterbot9
Husse wrote:The error indicates that a bunch of hidden files were not backed up
Check that the disk is not full
Impossible. I'm backing up to an external hard drive with 156GB free. From a hard drive with 120GB free.
It could be something with hidden files but there are more hidden files so I don't think so
I find the same problem using grsync (and I guess MintBackup, like grsync, uses rsync to execute). Some filenames contain one or more illegal characters, which rsync chokes on. (Those would be web pages I've downloaded, whose titles include an illegal character or two. If I neglect renaming them with only legal characters, then rsync chokes.)

But there are many more errors that are not explained by illegal characters. OTOH, I have absolutely no problem, just backing up my own data using MintBackup or grsync (which are located in their own directory under my user name, which is: /home/zeke/mydata), minus all other settings created by the OS in the home folder.

So, as usual, I must resort to the old copy command from the file manager...if I want to back up more than just my own data. Not very efficient, but it gets the job done.

So why can't I get these "handy" backup utilities to ignore whatever makes them choke? "Copy" seems to have no problem with this. Thanks for any suggestions.

Re: Mint Backup failure

Posted: Sat Jun 13, 2009 9:14 am
by Husse
Yes copying can be really tricky :shock:
I can't see a common denominator for these files - a lot of them have - or _ in their names but not all
I have met people in the forum with what they believe are empty disks while in reality they were not
To make sure check with df -h

Re: Mint Backup failure

Posted: Sun Jun 14, 2009 9:12 pm
by pewterbot9
Husse wrote:Yes copying can be really tricky
It shouldn't be. And that's the problem. :(

Re: Mint Backup failure

Posted: Mon Jun 15, 2009 2:24 pm
by Fred
pewterbot9,

Sorry to go off the reservation here but I find CLI tools to be much more reliable when doing backups. If you will follow the advice given in the thread/post below you can create a working backup of your hidden files.

I prefer rsync for this, as it is fast and reliable to a fault. If there is such a thing. :-)

http://forums.linuxmint.com/viewtopic.p ... nc#p153421

Fred

Re: Mint Backup failure

Posted: Wed Jun 17, 2009 2:02 am
by pewterbot9
Fred wrote:I prefer rsync for this, as it is fast and reliable to a fault. If there is such a thing. :-)
Thanks immensely, Fred, I will study the command options and make adjustments accordingly...which would be just username and paths. I used grsync, and it still got stuck on a bunch of files, a whole bunch. I guess because it excluded the option to backup hidden files? Here are the settings I used, which seem correct in all ways...and the actual rsync commands are revealed when you pause the execution. A nice way to learn the workings of rsync, at least for a newbie.
grsync-1.png
grsync-2.png
grsync-3.png

Re: Mint Backup failure

Posted: Wed Jun 17, 2009 2:38 am
by pewterbot9
At first I was confused as to why none of my data files were backed up...but after examining your command options more closely, I see it is instructed to backup only hidden folders. (And if I surmise correctly, grsync lacks the option to include hidden files, or a box to add additional options...how d'eclass'e.)

Very nice. So I can do a separate backup of my data files, to another folder. Which is the most logical way to backup.

But I still have a passel of "failed" results! I can understand some of them because they are remnants of uninstalled files, and a bunch of 'em are from ".wine" folder...but what about the rest? I did produce a log, which is a beefy 1.7 MB...you can view it here:

http://tinyurl.com/pewterbot9log

Sorry for the trouble, if this is too time intensive for you, I'll seek advice elsewhere. Otherwise, just search for "failed" and you'll see what I mean.

Re: Mint Backup failure

Posted: Wed Jun 17, 2009 10:53 am
by Fred
pewterbot9,

A first look leads me to believe you may have some ownership/permission issues. Before I send you off on a wild goose chase, please post the exact command you are using.

The command, as written in the post I referred you to, was intended to transfer your hidden files in your home only. It can easily be structured to take everything in your home if that is what you want however. Just tell me exactly what you want and where you want it backed up to, and I'll try to help you.

Fred

Re: Mint Backup failure

Posted: Wed Jun 17, 2009 7:34 pm
by pewterbot9
Fred wrote:A first look leads me to believe you may have some ownership/permission issues.
Yes, I think so. Perhaps I should run rsync as root ("sudo rysnc..."}?
The command, as written in the post I referred you to, was intended to transfer your hidden files in your home only.
I like that. I can easily do a separate backup for my data files...and I can already do that successfully w/rsync. So I have no problem with your method to just back up the hidden files. Now, I added the log to your command, and of course adjusted the username and path for my own system. This is a backup from my hard drive, to an external USB drive:

rsync -arE --log-file="rsync-log.txt" --progress --timeout=120 --delete --exclude "*~" --include ".*" --include ".*/**" --exclude "*" /home/zeke/ /media/RHINOUSB/home/zeke

--Here is the list including hidden folders/files, w/permissions:

zeke@zeke-bot ~ $ ls -a -l
total 3641168
drwxr-xr-x 99 zeke zeke 4096 2009-06-17 16:19 .
drwxr-xr-x 4 root root 4096 2009-06-10 23:05 ..
drwx------ 2 zeke zeke 4096 2009-05-19 17:36 .AbiSuite
drwx------ 2 zeke zeke 4096 2009-04-05 01:10 .abuse
drwx------ 3 zeke zeke 4096 2009-04-05 00:39 .adanaxis
drwx------ 3 zeke zeke 4096 2009-03-21 04:11 .adobe
drwx------ 4 zeke zeke 4096 2009-04-22 22:46 .afterstep
-rwx------ 1 zeke zeke 4763 2009-04-25 00:49 AGENT.INI
drwx------ 2 zeke zeke 4096 2009-04-05 00:21 .alex4
drwx------ 2 zeke zeke 4096 2009-04-05 00:21 .amph
drwx------ 2 zeke zeke 4096 2009-05-12 00:19 .audacity1.3-zeke
drwx------ 4 zeke zeke 4096 2009-05-12 00:19 .audacity-data
-rwx------ 1 zeke zeke 908 2009-06-10 22:06 .banter.log
-rwx------ 1 zeke zeke 176 2009-04-05 13:17 .barrage.hscr
-rwx------ 1 zeke zeke 7892 2009-06-17 01:04 .bash_history
-rw-r--r-- 1 zeke zeke 220 2009-06-10 23:05 .bash_logout
-rwx------ 1 zeke zeke 1305 2009-05-08 21:41 .blackboxrc
drwxr-xr-x 2 zeke zeke 4096 2009-06-15 00:26 .bluefish
drwx------ 9 zeke zeke 4096 2009-06-12 16:48 .cache
drwx------ 2 zeke zeke 4096 2009-05-12 02:41 .cddb
drwx------ 3 zeke zeke 4096 2009-04-26 18:27 .checkgmail
drwx------ 3 zeke zeke 4096 2009-06-10 16:41 .compiz
drwxr-xr-x 16 zeke zeke 4096 2009-06-17 13:52 .config
drwx------ 13 zeke zeke 4096 2009-06-15 12:37 daily_notes
drwx------ 3 zeke zeke 4096 2009-06-10 16:09 .dbus
drwxr-xr-x 2 zeke zeke 4096 2009-06-10 16:43 Desktop
-rw------- 1 zeke zeke 28 2009-06-17 15:55 .dmrc
drwx------ 5 zeke zeke 4096 2009-06-09 01:23 .dvdcss
drwx------ 6 zeke zeke 4096 2009-04-22 23:14 .e16
drwx------ 4 zeke zeke 4096 2009-04-29 20:37 .endgame
-rw------- 1 zeke zeke 0 2009-06-15 00:06 en_US.UTF-8
-rw------- 1 zeke zeke 16 2009-06-10 16:09 .esd_auth
drwx------ 7 zeke zeke 4096 2009-04-02 23:33 .evolution
-rwx------ 1 zeke zeke 602 2009-05-16 00:59 .festival_history
drwx------ 2 zeke zeke 4096 2009-05-26 18:35 .filezilla
drwx------ 2 zeke zeke 4096 2009-06-14 15:57 .fontconfig
-rwx------ 1 zeke zeke 707 2009-04-24 23:24 Forte Agent.lnk
drwx------ 2 zeke zeke 4096 2009-04-22 22:56 .foxrc
drwx------ 2 zeke zeke 4096 2009-04-22 22:58 .fvwm
drwx------ 5 zeke zeke 4096 2009-06-17 15:55 .gconf
drwx------ 2 zeke zeke 4096 2009-06-17 16:25 .gconfd
drwx------ 4 zeke zeke 4096 2009-03-25 16:34 .gegl-0.0
drwx------ 3 zeke zeke 4096 2009-03-24 02:27 .gftp
drwx------ 22 zeke zeke 4096 2009-06-17 14:35 .gimp-2.6
drwx------ 5 zeke zeke 4096 2009-05-12 17:29 .gkrellm2
-rwx------ 1 zeke zeke 0 2009-06-16 23:14 .gksu.lock
drwx------ 3 zeke zeke 4096 2009-04-05 00:10 .glest
drwx------ 12 zeke zeke 4096 2009-06-17 15:54 .gnome2
drwx------ 2 zeke zeke 4096 2009-06-10 16:09 .gnome2_private
drwx------ 2 zeke zeke 4096 2009-06-10 16:09 .gnupg
-rwx------ 1 zeke zeke 1512 2009-05-12 03:02 .grip
-rwx------ 1 zeke zeke 100 2009-05-12 03:02 .grip-oggenc
-rwx------ 1 zeke zeke 0 2009-04-25 00:48 GROUPS.DAT
-rwx------ 1 zeke zeke 0 2009-04-25 00:48 GROUPS.IDX
drwx------ 2 zeke zeke 4096 2009-05-30 13:29 .grsync
drwxr-xr-x 2 zeke zeke 4096 2009-06-15 15:10 .gstreamer-0.10
drwx------ 5 zeke zeke 4096 2009-04-04 22:25 .gtkboard
-rw-r--r-- 1 zeke zeke 596 2009-06-17 15:56 .gtk-bookmarks
-rwx------ 1 zeke zeke 4112 2009-04-22 22:46 .gtkrc-2.0_afterstep
-rwx------ 1 zeke zeke 1213 2009-04-22 22:46 .gtkrc_afterstep
-rwx------ 1 zeke zeke 987 2009-05-11 23:42 .gtk-recordmydesktop
dr-x------ 2 zeke zeke 0 2009-06-17 15:55 .gvfs
drwx------ 2 zeke zeke 4096 2009-04-22 17:43 .holotz-castle
-rw-r--r-- 1 zeke zeke 3718840320 2009-06-09 19:58 home_20090610025355.backup
drwx------ 2 zeke zeke 4096 2009-04-22 23:24 .hplip
-rw------- 1 zeke zeke 9943 2009-06-17 15:55 .ICEauthority
drwx------ 2 zeke zeke 4096 2009-03-21 03:35 .icons
drwx------ 3 zeke zeke 4096 2009-04-01 22:16 .java
drwx------ 4 zeke zeke 4096 2009-03-29 18:08 .kde
-rwx------ 1 zeke zeke 42 2009-04-02 20:58 .lesshst
-rwx------ 1 zeke zeke 87037 2009-05-08 17:14 .libquicktime_codecs
drwxr-xr-x 5 zeke zeke 4096 2009-06-10 16:10 .linuxmint
drwxr-xr-x 3 zeke zeke 4096 2009-06-10 16:18 .local
drwx------ 3 zeke zeke 4096 2009-03-21 04:11 .macromedia
drwx------ 5 zeke zeke 4096 2009-06-14 16:35 .mozilla
drwx------ 3 zeke zeke 4096 2009-03-21 04:51 .mozilla-thunderbird
drwx------ 2 zeke zeke 4096 2009-06-12 16:32 .mplayer
drwxr-xr-x 15 zeke zeke 4096 2009-06-09 00:30 my_data
drwxr-xr-x 3 zeke zeke 4096 2009-06-10 16:09 .nautilus
-rwx------ 1 zeke zeke 409 2009-04-03 19:42 .nessusrc
drwx------ 3 zeke zeke 4096 2009-04-20 03:38 .nexuiz
-rwx------ 1 zeke zeke 5034201 2009-05-11 23:25 .ogv
-rwx------ 1 zeke zeke 371 2009-05-11 11:58 .openme.prefs
drwx------ 3 zeke zeke 4096 2009-04-28 17:25 .openoffice.org2
drwx------ 4 zeke zeke 4096 2009-06-09 17:57 .pan2
drwx------ 3 zeke zeke 4096 2009-04-19 02:20 .parallelrealities
drwx------ 3 zeke zeke 4096 2009-04-17 13:07 .prism
-rw-r--r-- 1 zeke zeke 675 2009-06-10 23:05 .profile
drwx------ 2 zeke zeke 4096 2009-06-17 15:55 .pulse
-rw------- 1 zeke zeke 256 2009-06-10 16:09 .pulse-cookie
drwx------ 3 zeke zeke 4096 2009-04-20 19:14 .pybackpack
drwx------ 4 zeke zeke 4096 2009-04-23 17:40 .python-eggs
drwx------ 2 zeke zeke 4096 2009-04-22 23:24 .qt
drwx------ 2 zeke zeke 4096 2009-03-28 19:14 .RadicalComicDesigner
-rwx------ 1 zeke zeke 0 2009-04-25 00:48 RANGES.DAT
-rwx------ 1 zeke zeke 3004 2009-04-05 01:31 .recently-used
-rw------- 1 zeke zeke 165676 2009-06-17 16:19 .recently-used.xbel
drwx------ 3 zeke zeke 4096 2009-04-08 20:41 .sane
drwx------ 2 zeke zeke 4096 2009-04-05 00:53 .scim
drwx------ 4 zeke zeke 4096 2009-06-15 00:11 .screem
drwx------ 2 zeke zeke 4096 2009-04-25 17:17 .screenlets
drwx------ 2 zeke zeke 4096 2009-06-10 00:59 scripts
drwx------ 2 zeke zeke 4096 2009-04-04 02:48 .searchmonkey
drwx------ 3 zeke zeke 4096 2009-05-10 02:04 .shutter
drwx------ 2 zeke zeke 4096 2009-04-02 19:48 .SimDock
drwx------ 6 zeke zeke 4096 2009-06-02 19:07 .SpiderOak
drwx------ 2 zeke zeke 4096 2009-03-30 16:22 .ssh
drwx------ 20 zeke zeke 4096 2009-05-20 04:10 stuff
-rwx------ 1 zeke zeke 0 2009-03-21 03:42 .sudo_as_admin_successful
-rwx------ 1 zeke zeke 12288 2009-04-02 15:13 .swp
drwxr-xr-x 2 zeke zeke 4096 2009-06-12 03:05 Templates
drwx------ 3 zeke zeke 4096 2009-03-21 03:35 .themes
drwx------ 5 zeke zeke 4096 2009-06-15 00:07 .thumbnails
drwx------ 3 zeke zeke 4096 2009-04-04 01:32 .tilda
drwxr-xr-x 3 zeke zeke 4096 2009-06-16 23:11 tmp
drwxr-xr-x 6 zeke zeke 4096 2009-06-17 16:13 .tomboy
-rw-r--r-- 1 zeke zeke 3558 2009-06-17 16:13 .tomboy.log
drwxr-xr-x 3 zeke zeke 4096 2009-06-12 18:36 torrents
-rwx------ 1 zeke zeke 1167 2009-06-17 00:51 tpsettings.xml
-rwx------ 1 zeke zeke 34 2009-05-14 21:26 .tuxpuckrc
drwx------ 4 zeke zeke 4096 2009-04-25 01:42 .ubuntu-tweak
drwx------ 2 zeke zeke 4096 2009-03-22 14:37 .update-manager-core
drwx------ 2 zeke zeke 4096 2009-03-22 14:35 .update-notifier
-rwx------ 1 zeke zeke 0 2009-05-13 15:49 url.info
-rwx------ 1 zeke zeke 780 2009-06-05 17:51 .usb-creator.log
drwx------ 2 zeke zeke 4096 2009-05-29 19:06 .utube
-rwx------ 1 zeke zeke 250 2009-05-29 18:51 .utube.conf
drwx------ 4 zeke zeke 4096 2009-04-22 23:13 .VirtualBox
drwx------ 2 zeke zeke 4096 2009-05-08 21:44 .w3m
drwxr-xr-x 2 zeke zeke 4096 2009-06-12 14:52 .wapi
drwx------ 3 zeke zeke 4096 2009-04-05 15:50 .warsow
drwx------ 4 zeke zeke 4096 2009-06-16 22:13 .wine
drwx------ 2 zeke zeke 4096 2009-04-22 23:26 .wireshark
drwx------ 2 zeke zeke 4096 2009-04-22 23:20 .wmii-3.5
drwx------ 3 zeke zeke 4096 2009-04-19 02:23 .wound-up
-rwx------ 1 zeke zeke 628 2009-04-22 23:19 .wvdial.conf
-rw------- 1 zeke zeke 119 2009-06-17 15:55 .Xauthority
drwx------ 3 zeke zeke 4096 2009-04-23 23:25 .xfe
drwxr-xr-x 2 zeke zeke 4096 2009-06-10 16:44 .xine
drwx------ 2 zeke zeke 4096 2009-05-12 01:08 .xmcdcfg
-rw-r--r-- 1 zeke zeke 200071 2009-06-17 16:03 .xsession-errors
drwx------ 4 zeke zeke 4096 2009-05-26 18:57 .yafc

--end list

Re: Mint Backup failure

Posted: Thu Jun 18, 2009 6:04 pm
by Fred
pewterbot9,

Sorry to be so slow getting back to you. Been a little busy around here lately. rsync transfers data from a mounted partition to the same or another mounted partition. The key here being a mounted partition. Since you are transferring some files you evidently have that criteria met. Lets try using root privileges. That should bypass any inconsistencies in permissions. Your command as structured looks ok.

sudo su

rsync... command

Fred

Re: Mint Backup failure

Posted: Thu Jun 18, 2009 7:25 pm
by pewterbot9
Fred wrote:Sorry to be so slow getting back to you.
No prob. I don't think that was slow at all...this ain't chat! :wink:
Lets try using root privileges.
Sounds good. Can't do that till I get back home tonight, don't have my external HD w/me. Will get back to you then, thanks Fred!

Re: Mint Backup failure

Posted: Thu Jun 18, 2009 7:30 pm
by Fred
pewterbot9,

Don't forget what I said about the mounted partition. It is a very big deal with rsync, so make sure it is mounted as what you think it is before you run the command. :-)

Fred

Re: Mint Backup failure

Posted: Fri Jun 19, 2009 3:14 am
by pewterbot9
Fred wrote:make sure it is mounted as what you think it is before you run the command.
Nautilus shows both source and target partitions to be mounted. Both Nautilus and terminal give the same location for the USB drive, which is:

/media/RHINOUSB

Is that what you mean by "mounted as what you think"?

Unfortunately, the results are the same as previously, using "sudo rysnc":

http://tinyurl.com/pewterbot9log-2

Every single attempt to copy has "failed", just like before, and I noticed there is a "chgrp" command on each of them. Like so:

2009/06/16 23:51:08 [13559] rsync: chgrp "/media/RHINOUSB/home/zeke/." failed: Operation not permitted (1)

I'm too much the greenhorn to have any idea why it's behaving like this. Why is rsync even messing with "chgrp"?

Anywayz, I tried your command locally, that is: backup to another folder on the same partition as the source. Almost flawless, only one failure:

2009/06/18 23:38:00 [4290] rsync: readlink_stat("/home/zeke/.gvfs") failed: Permission denied (13)

So I guess rsync has a problem with transferring via a USB port? (Or more likely, the problem is I'm a newbie.) I even tried backing up with the "-g" option ("preserve group") to see if that makes a difference, but nope, same old failures.

Plenty, if not all, of the hidden files do seem to copy to the USB drive, anyway.

Perhaps backing up was a success, and the "failures" were just telling me that "chgrp" could not be performed?

Yikes! :lol:

Re: Mint Backup failure

Posted: Fri Jun 19, 2009 8:40 am
by Fred
pewterbot9,

I have to admit, I am not sure what is going on here. It is bound to be something obvious and simple. Those are the kinds of things that seem to cause me the most problems. :-)

Try running the command again with "sudo su" and change the options to "rsync -arv " instead of "rsync -arE ". Maybe the verbosity will tell us something we didn't already know. :-)

The usb connection should not be an issue for rsync.

Fred

Re: Mint Backup failure

Posted: Fri Jun 19, 2009 11:27 pm
by pewterbot9
Fred wrote:I have to admit, I am not sure what is going on here. It is bound to be something obvious and simple. Those are the kinds of things that seem to cause me the most problems. :-)
Then we have something in common. :P
Try running the command again with "sudo su" and change the options to "rsync -arv " instead of "rsync -arE ". Maybe the verbosity will tell us something we didn't already know. :-)
Seems I get the same "failed" results:

http://tinyurl.com/pewterbot9log-3

Can we at least conclude that this error has something to do with copying to another partition or media...since it does not occur when copying to another folder on the same partition? Maybe?
The usb connection should not be an issue for rsync.
Thanks!

Re: Mint Backup failure - SOLVED

Posted: Sat Jul 18, 2009 12:19 am
by pewterbot9
Fred wrote:The usb connection should not be an issue for rsync.
Problem solved, Fred! It was that my USB drive was formatted in fat32. I finally refomatted it to the same as my main drive, "ext3". Now, I ran your rsync command with nary an error. Smooth!

I give credit to another wizard who attends the same unix group I do, twice per month...and he suggested that rsync may be choking on fat32.

Thanks for all your trouble looking into this matter...funny how it finally got cured! Live and learn.

Re: Mint Backup failure

Posted: Sat Jul 18, 2009 2:36 am
by DrHu
pewterbot9 wrote: Fred wrote: make sure it is mounted as what you think it is before you run the command.
----------------------------------
Anywayz, I tried your command locally, that is: backup to another folder on the same partition as the source. Almost flawless, only one failure:
2009/06/18 23:38:00 [4290] rsync: readlink_stat("/home/zeke/.gvfs") failed: Permission denied (13)
Problem solved, Fred! It was that my USB drive was formatted in fat32. I finally refomatted it to the same as my main drive, "ext3". Now, I ran your rsync command with nary an error. Smooth!
rsync: readlink_stat("/home/zeke/.gvfs") failed: Permission denied (13)
And this was OK this time ?

About the .gvfs error..
http://ubuntuforums.org/showthread.php?t=791693

Re: Mint Backup failure

Posted: Sun Jul 19, 2009 1:49 am
by pewterbot9
DrHu wrote:About the .gvfs error..
http://ubuntuforums.org/showthread.php?t=791693
Aha, a gnome gbug! I figured it was something gtrivial. Thanks much, DrHu.