LinuxQuestions.org
Visit Jeremy's Blog.
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 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 Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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
Moderator
 
Registered: Mar 2008
Posts: 21,982

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


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
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

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

All times are GMT -5. The time now is 12:36 AM.

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