Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-01-2009, 09:28 AM
|
#1
|
Member
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501
Rep:
|
How to copy partition everyday to a image
Hello
I have 2 partitions on my hard disk
1. sda1 is ext3 partitoins with MINT linux
2. sda2 ntfs partitions with my files and movies 
I want to copy, make backup of my sda1 partitions and store it to file (image) in some folder in sda2.
In windows I have made that many times with Acronis and ghost, but I dont know how to make it in MINT.
I want to make a backup from sda1 to file in sda2 every 3 nights.
Is there some manual that explain that. I am very new to Linux
|
|
|
09-01-2009, 09:46 AM
|
#2
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468
Rep:
|
I suggest using partimage to do the imaging. Crontab for scheduling.
Last edited by ongte; 09-01-2009 at 09:47 AM.
|
|
|
09-01-2009, 10:17 AM
|
#3
|
Member
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208
Rep:
|
One thing that worries me is that you are writing to a Windows drive. I checked the partimage website, and they do say how to do it, but caution you against it. If you have to write to the windows partition, I'd continue using ghost in Windows. Just my 2 cents worth.
If the purpose is to get backups of your partitions, I'd probably use an external hard drive anyway. Format it with ext2/3 and you can store the images there. You can even use that to backup your windows partition(s) also.
|
|
|
09-01-2009, 06:28 PM
|
#4
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468
Rep:
|
Fortunately partimage works fine writing to an NTFS partition. I've used it quite alot myself. 
|
|
|
09-02-2009, 12:38 PM
|
#5
|
Member
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501
Original Poster
Rep:
|
Yes, but with partimage you cannot schedule it, right?
I want to be automaticly
|
|
|
09-02-2009, 12:50 PM
|
#6
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
I use rsnapshot, it takes a bit of work to set up, but once it's done you can forget about it.
From rsnapshot site:
Quote:
rsnapshot is a filesystem backup utility based on rsync. Using rsnapshot, it is possible to take snapshots of your filesystems at different points in time. Using hard links, rsnapshot creates the illusion of multiple full backups, while only taking up the space of one full backup plus differences. When coupled with ssh, it is possible to take snapshots of remote filesystems as well. This document is a tutorial in the installation and configuration of rsnapshot.
|
|
|
|
09-02-2009, 01:06 PM
|
#7
|
Member
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501
Original Poster
Rep:
|
Hello mdg
Does this program can do backup during you use (run) Linux as ghost or acronis?
|
|
|
09-02-2009, 01:09 PM
|
#8
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
If you mean does it run in the background, then yes it does.
The scheduling part is handled by cron. I set mine to run in the small hours of the morning, as my system tends to slow down a bit when the backup runs.
|
|
|
09-02-2009, 01:21 PM
|
#9
|
Member
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501
Original Poster
Rep:
|
No, I mean, if I have linux running in sda1, can I do backup from sda1 to sda2 running Linux? Can I backup currently partition?
|
|
|
09-02-2009, 01:31 PM
|
#10
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
Yes , you can. Keep in mind there are some things you don't want to back up in a currently running system, eg: /dev, /mnt.
edit:after reading your question again, for the sake of clarity, if sda2 is part of the same system that is running on sda1, I'm not sure that would work. I assumed sda2 was a partition which was not active at the same time as sda1.
If you're doing this to backup data, it doesn't make sense to backup to the same drive. If your drive breaks, it takes your backup with it.
Last edited by mdg; 09-02-2009 at 01:39 PM.
|
|
|
09-02-2009, 01:42 PM
|
#11
|
Member
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501
Original Poster
Rep:
|
And if I have some image done, and I cannot run Linux, can I copy then this image, so I can restore my Linux?
|
|
|
09-02-2009, 01:51 PM
|
#12
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
I use it to backup data that is important to me. I don't know if it could be used to re-install (as a mirror image). Take a look at their website.
If my system was so broken that I had no way of fixing it, I would prefer to re-install from the install disk, rather than trust a backup of system files that would probably contain all the errors that collapsed the system originally.
|
|
|
09-02-2009, 01:53 PM
|
#13
|
Member
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501
Original Poster
Rep:
|
I installed it, but I dont know how to run it.
Can you tell me how can I open it?
|
|
|
09-02-2009, 02:01 PM
|
#14
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
The rsnapshot how-to will tell you what you need to know. It takes some configuring to get it set up. Read up on what needs to be done and post any specific questions you may have.
|
|
|
All times are GMT -5. The time now is 08:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|