LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-11-2010, 07:26 AM   #1
ice21
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Full System Backup of Linux from ext to NTFS disk


hi all

I wonder if I can backup files from an ext partition to a ntfs partition and keeping all kind of metadata and file infos?!

With other words:

Can I backup a full linux system from a ext file system to a external ntfs partitioned disk using rsync -a (keeping all file permissions)?

Is something getting lost of a file (like permissions or anything... flags...) when copied / rsynced from ext to ntfs?

The thing is, that when I restore the stuff back from ntfs to ext, can I still use my system properly?

And can I backup files like photos from ext to ntfs without loosing any meta data?


Or asked more in general: What is the difference of a file on a ext partition compared to the same file on a ntfs partition?

Thanx for any hints
ice21 =)

Last edited by ice21; 10-11-2010 at 07:29 AM.
 
Old 10-11-2010, 09:10 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Wheezy (Fluxbox WM)
Posts: 1,363
Blog Entries: 52

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Can I backup a full linux system from a ext file system to a external ntfs partitioned disk using rsync -a (keeping all file permissions)?
There have been improvements in preserving POSIX file metadata through the NTFS drivers, but there are many issues in preserving a full system: ownerships, permissions, timestamps, and hard links. It is unlikely to be perfect.

You could use backup software such as clonezilla (or an archive format such as tar), but these make incremental backups difficult.

One solution would be to loop mount an ext file system on the NTFS drive, and use that for your rsync backup. The backup would be inaccessible to the Windows system (since the virtual file system would be inside a single Windows file), but that might not matter for your purpose.

Quote:
And can I backup files like photos from ext to ntfs without loosing any meta data?
The metadata associated with photos is not a problem, because it is stored inside the file, not externally in the file system. Likewise for the metadata of other media (music, video, documents, etc).

Last edited by neonsignal; 10-11-2010 at 09:14 AM.
 
Old 10-11-2010, 09:21 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,488

Rep: Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543
I'll add to the good advice given by neonsignal, and suggest using a tool like Mondoarchive or systemimager, that generates .ISO images, with your 'backups' in them. That way, it's just a file, and can be copied to whatever is on the other end, as long as there's room. Getting the data back is a matter of burning the ISO(s) to a CD/DVD, and reading them.

Mondoarchive will even let you burn system-recovery DVD's that are bootable, and can support network booting too.
 
Old 10-11-2010, 03:54 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,416

Rep: Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397
Why not use a compression program of your choice to a single file?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux full Hard disk backup or mirror charlestsai4001 Linux - Newbie 4 07-08-2010 06:54 PM
backup the RHEL5 server with Cpanel and create full system restore disk zaki Linux - Newbie 1 08-31-2009 11:59 AM
backup disk full bothra Linux - Newbie 1 03-20-2008 09:41 AM
full System Backup czezz Linux - Software 10 05-08-2005 01:50 PM


All times are GMT -5. The time now is 09:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration