| View previous topic :: View next topic |
| Author |
Message |
DavidMcCrossan LXF regular
Joined: Fri Aug 19, 2005 10:46 am Posts: 241
|
Posted: Tue Jun 14, 2011 11:24 am Post subject: Backing up /home |
|
|
Hi guys!
I am a little confuddled (itīs me age) at what I should back up.
Home shows only /david and that is OK.
If I ask to view hidden files in /Home there is more there than I have space on my 2Gb USB drive, so I have a dilemma.
Do I copy these files as part of the /Home or only take /david?
I am going over to Mint to get my hdd back from Ubuntu. Non-standard filing systems are not for me.
Best regards
David |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7994 Location: Warrington, UK
|
Posted: Tue Jun 14, 2011 11:37 am Post subject: |
|
|
How can we say whether you need to copy these files when you don't tell us what they are? What does
show?
Do you have an encrypted home directory?
What non-standard filesystems do you mean, Ubuntu uses ext filesystems and the in-kernel ecryptfs for encryption. These are about as standard as you can get.
Much of the content of your home directory is compressible, so you can back it up onto a smaller drive by using tar with compression.
| Code: | | sudo tar czf /media/usbdrive/home.tar.gz /home |
You should use tar when backing up your home directory anyway, especially when copying to a FAT-formatted drive, or you will lose essential information. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
wyliecoyoteuk LXF regular

Joined: Sun Apr 10, 2005 11:41 pm Posts: 3358 Location: Birmingham, UK
|
Posted: Tue Jun 14, 2011 12:12 pm Post subject: |
|
|
Unless you have been saving files to /home instead of /home/david, there should not be any files there, hidden or otherwise, just a folder for each user. _________________ The sig between the asterisks is so cool that only REALLY COOL people can even see it!
*************** ************ |
|
| Back to top |
|
 |
DavidMcCrossan LXF regular
Joined: Fri Aug 19, 2005 10:46 am Posts: 241
|
Posted: Tue Jun 14, 2011 2:25 pm Post subject: Backing up /home |
|
|
Thanx guys.
Nelz,
root@david-Aspire-E360:/home/david# ls -1A /home
david
root@david-Aspire-E360:/home/david# ls -1A /home/david
ls: cannot access /home/david/.gvfs: Permission denied
.adobe
Adult voice V1.pdf
.audacity-data
.bash_history
.bash_logout
.bashrc
Budget Forecast 2011.ods
.cache
.clamtk
.compiz
.config
.crack-attack
DASH 1.jpg
DASH 2.jpg
.dbus
Desktop
Documents
Downloads
Dysarthria and Dysphonia.pdf
.esd_auth
.evolution
examples.desktop
.fontconfig
.freeguide
.gconf
.gconfd
.gegl-0.0
.gimp-2.6
.gksu.lock
.glabels
.gnome2
.gnome2_private
.gnome-commander
.gnupg
.gstreamer-0.10
.gtk-bookmarks
.gvfs
.ICEauthority
.icons
.java
.kde
.local
.macromedia
.mission-control
.mozilla
Music
.nautilus
.openoffice.org
Pictures
.pki
.printer-groups.xml
Private
.profile
Public
.pulse
.pulse-cookie
Reading and Writing following Stroke v1.pdf
.recently-used.xbel
.sane
.shotwell
.ssh
Stroke CVA.pdf
.sudo_as_admin_successful
Templates
.themes
.thumbnails
.thunderbird
Videos
.xine
.xsession-errors
.xsession-errors.old
root@david-Aspire-E360:/home/david#
I will try targz now.
Many thanx to you for your help.
Best
David |
|
| Back to top |
|
 |
Dutch_Master LXF regular
Joined: Tue Mar 27, 2007 2:49 am Posts: 2353
|
Posted: Tue Jun 14, 2011 3:07 pm Post subject: |
|
|
David, the argument on the ls command is not 1 (a number) but l (a lower case letter L). Copy this:
Use the code tags (like I did) to distinguish between your reply and the output of the command given. |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7994 Location: Warrington, UK
|
Posted: Tue Jun 14, 2011 4:07 pm Post subject: |
|
|
And it's an upper case A
If there is nothing in /home apart from david, I don't see what the problem is, or are you saying there is also a /david directory? _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
DavidMcCrossan LXF regular
Joined: Fri Aug 19, 2005 10:46 am Posts: 241
|
Posted: Tue Jun 14, 2011 5:26 pm Post subject: Backing up /Home |
|
|
Many thanx for your most welcome help, guys.
I finally got there.
Newly Minted.
Home directory intact.
Natch, itīs all the same. But different...
New rules.
Best David |
|
| Back to top |
|
 |
Nuke LXF regular

Joined: Wed Feb 09, 2011 12:11 pm Posts: 134 Location: Chepstow, UK
|
Posted: Thu Jun 30, 2011 3:48 pm Post subject: @ Nelz |
|
|
Nelz wrote :
| Quote: | | What non-standard filesystems do you mean, Ubuntu uses ext filesystems ... |
You probably have a later version of Ubuntu than I am using, but when I installed it you could have a number of alternatives. My partitions all have Reiser file systems. (I formatted them before Reiser became infamous).
But I dont think David meant that; I am guessing he was more concerned with directory structuring and file locations. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|