LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-23-2008, 03:20 AM   #16
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116

Quote:
Originally Posted by Steve W View Post
Well, there's certainly been an exchange of views on this thread since I logged off yesterday. For my purposes, having an "up-to-the-minute" correct backup is less important (I'll only back up once a week maximum), and if my system goes down and I am forced to use the backup, the fact that I would not have lost everything is more important than having lost a few files that I could easily retrieve from the internet again (work files I back up straight away on removable storage anyway).
I would consider this to be the most common situation with /home anyway.

I backup /home daily using rsync in a script that first copies the entire previous day's backup using links. Thus, I only actually copy anything that is new since the previous backup. And, should I miss it today due to some email arriving or something, I'll get it tomorrow in the backup.

That said, I no longer use vfat for anything. The filesystem is long past its "sell by" date, and given that Linux can now read/write NTFS and Windows can read/write EXT2, there is just no reason at all to use it.
 
Old 08-23-2008, 06:45 AM   #17
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I would definitely not use vfat for your home directory or any backup devices. For one thing it doesn't store any ownership or permission information, so it will not work properly with any software which requires specific permissions for files (e.g. the .gnupg directory).

As you mentioned, vfat does not store all the same possible file names as ext3 - you will almost certainly lose information because of this. The most obvious example which springs to mind is "dot" files, which will include all your settings for your window manager and all programs which store settings files in dot files/directories in your HOME directory.

Perhaps if you describe what problems you were having we can help sorting them out. Using vfat will simply not work. I recommend you immediately reformat your backup device to ext3 or some other fully featured *nix filesystem.
 
Old 08-25-2008, 08:06 AM   #18
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Original Poster
Rep: Reputation: 44
Okay, I have reformatted my backup drive as ext3 and re-backed up my /home directory using rsync with -axv options. No problems so far. Had to do it using Knoppix Live DVD though. I have never had success with Tredegar's <CTRL><ALT><F1>, login as root method - possibly because I'm using Ubuntu. It is one of those distros where you don't have a root account, you just use Sudo in your own account. So it is impossible to "log on" as root. Also, how do you get out of a <CTRL><ALT><F1> terminal when you go into one? I tried pressing F6 (which apparently sometimes does it), typing EXIT, QUIT etc. No joy. Had to do a hardware reset instead.
 
Old 08-25-2008, 09:52 AM   #19
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Quote:
Originally Posted by Steve W View Post
Okay, I have reformatted my backup drive as ext3 and re-backed up my /home directory using rsync with -axv options. No problems so far. Had to do it using Knoppix Live DVD though. I have never had success with Tredegar's <CTRL><ALT><F1>, login as root method - possibly because I'm using Ubuntu. It is one of those distros where you don't have a root account, you just use Sudo in your own account. So it is impossible to "log on" as root.
As long as you are not logged in to a gnome or KDE session, and do control-alt-f1 from the graphical login screen, you can happily do the backup from a console login with your regular user using sudo. A console login is just a simple shell, and this will not have any problems with race conditions and the like, as discussed above.

I think you can "enable" a regular root login in Ubuntu by setting the root password:
Code:
sudo passwd root
Having said that, it's not necessary - sudo will allow you to do any admin activities you might want to.
Quote:
Originally Posted by Steve W View Post
Also, how do you get out of a <CTRL><ALT><F1> terminal when you go into one? I tried pressing F6 (which apparently sometimes does it), typing EXIT, QUIT etc. No joy. Had to do a hardware reset instead.
You can switch between console virtual terminals with alt-f1, alt-f2 etc. There are usually a few of them, and then one which switches you back to X, which on Ubuntu is alt-f7 by default. This might vary on other distros or with customised configurations where there might be a different number of virtual terminals, but in this case just pres alt-f1, alt-f2 ... all in turn until you get to the X session :-)
 
Old 08-25-2008, 01:59 PM   #20
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Original Poster
Rep: Reputation: 44
Ah, thanks for that info - I have saved a copy of it so I know what to do when I need a console session. Well, it seems the backup situation has been solved so thanks everyone on this thread for your (as usual) invaluable assistance.
 
  


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
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Backing up home folder? evilc77 Linux - Newbie 6 03-09-2008 09:56 PM
Question about backing up home directory IndyGunFreak Ubuntu 2 02-04-2007 01:19 AM
Backing Up /home carlosinfl Linux - General 3 02-16-2006 12:04 PM
Backing up /home une Mandriva 8 07-10-2005 07:38 AM

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

All times are GMT -5. The time now is 11:30 PM.

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