Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Looking to make a "time machine" style backup system, how to do it, rsync with scripts or some package?
B82R3S
post Apr 30 2009, 05:56 PM
Post #1
Atomican
Champion




Hey all,

ive got another server at home so i was thining of using it for backups

Anyway i was thinking of setting up some sort of time machine style backup system (without fancy GUI((if there is one it would be sweet))). ATM my pc just rsync's to a samba share hourly and then hourly on the server a script to make hard links or symbolic links whatever it is to do a form of hourly backups.

if there is a better script/app to do that on the server (nix) (the sym/hard links thing) that would be great.


im really looking for an app that just runs on the client and uses the samba share to do all the work.

cheers


--------------------
I5 3570K @ 4.5 1.3v | Asus P8Z77I-Deluxe | 8GB Gskill Ram | HD6870 1GB | 120GB Vertex 2E | 1.5TB HDD | Silverstone SG08
N46L | 4GB ECC DDR2 | FreeBSD | 1TB OS Disk | 5x2TB 4k Green Drives | ZFS
1984 BMW E30 323i: 2.3 w T3/T4 Turbo & Megasquirt II, 3.73LSD, 5spd

Quote by andhey
hmm ill try it later, i accidentally deleted all my tv shows when trying to delete a word document lmao
Go to the top of the page
 
+Quote Post
Master_Scythe
post Apr 30 2009, 09:12 PM
Post #2
Hero
Guru




from a quick google of 'time macine', it looks like it basically images your HDD's so you can restore said images...

in that case:

http://www.runtime.org/driveimage-xml.htm

thats what you're looking for. Supports batch\scheduled backups, and you could always run it in low priority etc.

Make your PC image itself once a week or so.


--------------------
Wherever you go in life, watch out for Scythe, the tackling IT support guy.

Random russian\asian spam, message of the day: "my best your mom that these are something wonderful."
Go to the top of the page
 
+Quote Post
TheSecret
post Apr 30 2009, 10:49 PM
Post #3
Banned
Champion




Time machine is not just a drive image system, it makes incremental backups and allows for selective restoration from multiple points.

Rsync is exactly what you want.


--------------------
The most difficult subjects can be explained to the most slow-witted man if he has not formed any idea of them already; but the simplest thing cannot be made clear to the most intelligent man if he is firmly persuaded that he knows already, without a shadow of doubt, what is laid before him. - Tolstoy
Go to the top of the page
 
+Quote Post
B82R3S
post Apr 30 2009, 11:54 PM
Post #4
Atomican
Champion




yeh but see with rsync, i have to on the server run scripts hourly to make hardlinks and shift directories and it gets kind of messy, just seeing a bunch of directories.

if i can have a windows application that uses the share as a volume (like time machine) it will be alot cleaner + i will get a nice gui.


**edit** actually i can see the flaw in that i probably wont be able to do symlinks or hardlinks over smb, might have to use NFS.



--------------------
I5 3570K @ 4.5 1.3v | Asus P8Z77I-Deluxe | 8GB Gskill Ram | HD6870 1GB | 120GB Vertex 2E | 1.5TB HDD | Silverstone SG08
N46L | 4GB ECC DDR2 | FreeBSD | 1TB OS Disk | 5x2TB 4k Green Drives | ZFS
1984 BMW E30 323i: 2.3 w T3/T4 Turbo & Megasquirt II, 3.73LSD, 5spd

Quote by andhey
hmm ill try it later, i accidentally deleted all my tv shows when trying to delete a word document lmao
Go to the top of the page
 
+Quote Post
B82R3S
post May 1 2009, 12:11 AM
Post #5
Atomican
Champion




rm -rf /mnt/raid5/rflbkup/myob.7

mv /mnt/raid5/rflbkup/myob.6 /mnt/raid5/rflbkup/myob.7
mv /mnt/raid5/rflbkup/myob.5 /mnt/raid5/rflbkup/myob.6
mv /mnt/raid5/rflbkup/myob.4 /mnt/raid5/rflbkup/myob.5
mv /mnt/raid5/rflbkup/myob.3 /mnt/raid5/rflbkup/myob.4
mv /mnt/raid5/rflbkup/myob.2 /mnt/raid5/rflbkup/myob.3
mv /mnt/raid5/rflbkup/myob.1 /mnt/raid5/rflbkup/myob.2
( cd /mnt/raid5/rflbkup/myob.0 && cp -al /mnt/raid5/rflbkup/myob.0 /mnt/raid5/rflbkup/myob.1 )
rm -rf /mnt/raid5/rflbkup/rfldoc.7

mv /mnt/raid5/rflbkup/rfldoc.6 /mnt/raid5/rflbkup/rfldoc.7

mv /mnt/raid5/rflbkup/rfldoc.5 /mnt/raid5/rflbkup/rfldoc.6
mv /mnt/raid5/rflbkup/rfldoc.4 /mnt/raid5/rflbkup/rfldoc.5
mv /mnt/raid5/rflbkup/rfldoc.3 /mnt/raid5/rflbkup/rfldoc.4
mv /mnt/raid5/rflbkup/rfldoc.2 /mnt/raid5/rflbkup/rfldoc.3
mv /mnt/raid5/rflbkup/rfldoc.1 /mnt/raid5/rflbkup/rfldoc.2
( cd /mnt/raid5/rflbkup/rfldoc.0 && cp -al /mnt/raid5/rflbkup/rfldoc.0 /mnt/raid5/rflbkup/rfldoc.1 )


thats the kind of script id be using, its lame in the sense i gotta manually add the directories and all that. If i could get some app to do it on the windows side or on the server side that would be great



************edit*****************

nvm, i just bothered to read the rsync man and realised it does do what i need :)

This post has been edited by B82R3S: May 1 2009, 12:21 AM


--------------------
I5 3570K @ 4.5 1.3v | Asus P8Z77I-Deluxe | 8GB Gskill Ram | HD6870 1GB | 120GB Vertex 2E | 1.5TB HDD | Silverstone SG08
N46L | 4GB ECC DDR2 | FreeBSD | 1TB OS Disk | 5x2TB 4k Green Drives | ZFS
1984 BMW E30 323i: 2.3 w T3/T4 Turbo & Megasquirt II, 3.73LSD, 5spd

Quote by andhey
hmm ill try it later, i accidentally deleted all my tv shows when trying to delete a word document lmao
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st May 2013 - 06:36 PM