Jump to content

Hi all,

 

Let me explain my scenario:

 

+ I''ll build a Debian Home Server based on these tutorials;

+ I want create a task to backup my system (not my personal data, just Debian data) to a flash drive just in case my hdd fail I can recover the system in a blink.

+ I'll have a flash plugged 24h and and a task that will run once a week "mirroring" my OS drive.

 

Does anyone can guide me how to search for this solution? I googled for Debian + backup but found only how to backup personal data, not the OS itself.

 

Thanks!

 

PS1: I'm noob, but can follow any tutorial with no problem.

Link to comment
https://linustechtips.com/topic/135515-question-backup-my-system-debian/
Share on other sites

Link to post
Share on other sites

http://m.webupd8.org/2010/08/create-full-system-backup-or-custom.html?m=1

Might work, not sure if the backup can be tailored to ignore personal files. The first option to create a custom live CD periodically should be close to what you're looking for, allowing you to reinstall the system (in its must recent state) in the event if a failure.

Debian should do that by default using the fallback image, though.

To do the above automatically, you can set up a cronjob to run a shell script once a week. The shell script can contain the commands to initiate a backup (with the right options) using remastersys. Most Linux applications should have a command line interface.

Interested in Linux, SteamOS and Open-source applications? Go here

Gaming Rig - CPU: i5 3570k @ Stock | GPU: EVGA Geforce 560Ti 448 Core Classified Ultra | RAM: Mushkin Enhanced Blackline 8GB DDR3 1600 | SSD: Crucial M4 128GB | HDD: 3TB Seagate Barracuda, 1TB WD Caviar Black, 1TB Seagate Barracuda | Case: Antec Lanboy Air | KB: Corsair Vengeance K70 Cherry MX Blue | Mouse: Corsair Vengeance M95 | Headset: Steelseries Siberia V2

 

 

Link to post
Share on other sites

http://m.webupd8.org/2010/08/create-full-system-backup-or-custom.html?m=1

Might work, not sure if the backup can be tailored to ignore personal files. The first option to create a custom live CD periodically should be close to what you're looking for, allowing you to reinstall the system (in its must recent state) in the event if a failure.

Debian should do that by default using the fallback image, though.

To do the above automatically, you can set up a cronjob to run a shell script once a week. The shell script can contain the commands to initiate a backup (with the right options) using remastersys. Most Linux applications should have a command line interface.

Interesting, I've visited the page but need to read more.

 

Use Rsync and a cron job.

 

Looks like a simple solution.

Does this method make a 1:1 copy of my hdd? ex.:  I'll remove the original hdd and place the copy and it will make no difference.

 

Thanks Gentlemen and sorry about my poor English

Link to post
Share on other sites

Rsync is a 1:1 copy, yes. It also does incremental backups, which is useful for large amount of data (only syncs changes, and not everything).

Interested in Linux, SteamOS and Open-source applications? Go here

Gaming Rig - CPU: i5 3570k @ Stock | GPU: EVGA Geforce 560Ti 448 Core Classified Ultra | RAM: Mushkin Enhanced Blackline 8GB DDR3 1600 | SSD: Crucial M4 128GB | HDD: 3TB Seagate Barracuda, 1TB WD Caviar Black, 1TB Seagate Barracuda | Case: Antec Lanboy Air | KB: Corsair Vengeance K70 Cherry MX Blue | Mouse: Corsair Vengeance M95 | Headset: Steelseries Siberia V2

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×