Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 01-18-2008, 03:17 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 4
OS: SBS 2003


Backup / Image of Linux Drive

I am using debian (without x) and I need a script that can be added to cron.weekly which will do a backup to an NTFS formatted drive

Can anyone tell me where I can find one or how to write it

Thanks - much appreciated

Ian
visitek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-21-2008, 04:03 PM   #2 (permalink)
Registered User
 
hal8000's Avatar
 
Join Date: Dec 2006
Location: UK
Posts: 229
OS: PCLinux2009/Ubuntu/XP


Re: Backup / Image of Linux Drive

Do a backup to an NTFS drive from what? another NTFS system or a linux partition?
If its a linux partition backup you want to be writing to a linux filesystem not NTFS.
You need to post what data and filesystem type you are wanting to backup before anyone can
answer.
hal8000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-22-2008, 12:05 AM   #3 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 4
OS: SBS 2003


Re: Backup / Image of Linux Drive

Quote:
Originally Posted by hal8000 View Post
Do a backup to an NTFS drive from what? another NTFS system or a linux partition?
If its a linux partition backup you want to be writing to a linux filesystem not NTFS.
You need to post what data and filesystem type you are wanting to backup before anyone can
answer.
From a linux partition to a removable hard drive with an NTFS partition on. [ From a linux box (so that it can be read by a windows machine) ]

For a backup (of data) that can be read on a windows machine, without the (unsigned int limitation) file size > 4294967295 bytes issue [FAT32]. For example compressed backup file over 4.2GB

Last edited by visitek; 01-22-2008 at 12:08 AM.
visitek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-23-2008, 10:35 AM   #4 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Backup / Image of Linux Drive

If the ntfs is mounted on Linux, just use "tar cvf <tar_filename>.tar <ntfs-mount-point".
This will copy the file system byte-by-byte to the tar. You might want to turn the compression switch on to make the backup smaller. Of course, I am assuming your ntfs file system is mounted under Linux. Take a look at the "star" tar file progam. "Star" is a smarter backup utility.

Of course, if you have to backup your ntfs you will have to mount it first under Linux AND if you restore it to a Windows machine you will NEVER be able to boot from it again. (Unless you reset the boot sectors and links again.)

If you want to be able to boot from the ntfs disk, take a look at the "dd" command. It will raw-read bytes from the disk to the backup file. Your will have to test this. I don't know if you run "dd" to a save file and then use "dd" to write the backup disk to the raw hard disk that you can even boot from it. "dd" will copy good and bad sectors to/from the hard drive.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:27 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85