PDA

View Full Version : [ubuntu] Backing Up in Ubuntu 9.10



daniell59
December 1st, 2010, 01:58 PM
Backing Up in ubuntu 9.10
I am planning to do a clean install to Ubnutu 10.10.
There a few things that I would like to back up.

Address Book

Bookmarks

Photos

I would appreciate it if someone could explain to me the best way of doing this.

Thanks

ibizatunes
December 1st, 2010, 02:01 PM
https://help.ubuntu.com/community/BackupYourSystem/TAR
create a separate /home in the next install and then you don't need to worry about it in the future!

AngusH
December 1st, 2010, 02:23 PM
A tarball of your home partition would do the trick,
Not at a linux box right now so I can't test this but I think the commands your after would be
cd /
sudo tar -xavf home.tar.gz home
(the cd is because we can't create the file in a dir we're in)
Then you can just copy that to a USB stick, and restore it on the new install.
Angus

daniell59
December 1st, 2010, 03:24 PM
A tarball of your home partition would do the trick,
Not at a linux box right now so I can't test this but I think the commands your after would be
cd /
sudo tar -xavf home.tar.gz home
(the cd is because we can't create the file in a dir we're in)
Then you can just copy that to a USB stick, and restore it on the new install.
Angus

Tried it an got the following.

No such file or directory
tar: Error is not recoverable: exiting now

Thanks the same

AngusH
December 1st, 2010, 06:38 PM
I'm an idiot.
Same thing, but change the start of the second line to
sudo tar -cavf home.tar.gz home and give that a whirl. Hopefully I've got it right this time :).
Angus