Active Topics

 


Reply
Thread Tools
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#1
Hi!

I have managed to compile a backup tool for OS2008. It is called DAR, short for Disk ARchive, this url can give you more info http://freshmeat.net/projects/dar/ (the main site isn't working or is it?).

This tool supports full/incremental backup, compression, piping etc etc, so this should be anything an IT hacker needs for his backup things .

HOWTO for DAR

A mini howto here for N8x0:

Backup with bz2 compression, 1 GB slice and backs up your mmc2 to your mmc1 (ie. external mmc2):
Code:
dar -m 256 -s 1G -y -R /media/mmc2 -c /media/mmc1/$(date -I)_backup -Z "*.gz" -Z "*.bz2" -Z "*.deb"
The file will be named with the current date + .dar.N where N is the slice number.

Restoring a backup:
Code:
dar -x backupfile.dar.1 -R /media/mmc2 -w
Replace backupfile.dar.1 with your own filename that was created with dar.



The files:
libdar64-4_2.3.5-1_armel.deb
dar_2.3.5-1_armel.deb

Install them in this order, ie. libdar first then dar itself.
__________________
Regards,
LoCusF
http://locusf.blogspot.com

Last edited by locusf; 2008-06-01 at 10:29.
 

The Following 5 Users Say Thank You to locusf For This Useful Post:
Posts: 90 | Thanked: 19 times | Joined on Oct 2007
#2
i hope someone port rdiff-backup instead
 
rscasas's Avatar
Posts: 39 | Thanked: 47 times | Joined on Dec 2007 @ Spain
#3
DAR is great, but very difficult to me.
How can full backup all the data on my OS partition (ext2 in my internal SD) to my external SD?
__________________
Un saludo
Ramón
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#4
Code:
dar -m 256 -y -R /media/mmc2 -c /media/mmc1/$(date -I)_backup -Z "*.gz" -Z "*.bz2" -Z "*.deb"
This is what I used. It backs up the entire internal SD to external SD in to a single files, without slicing to smaller parts.
 

The Following User Says Thank You to locusf For This Useful Post:
rscasas's Avatar
Posts: 39 | Thanked: 47 times | Joined on Dec 2007 @ Spain
#5
Useful! Thanks a lot!
"Entire internal SD" means no matter how many partitions on it?. Mine have two : ext2 with cloned OS and FAT32 for data.
BTW can you post the restore command?
__________________
Un saludo
Ramón
 

The Following User Says Thank You to rscasas For This Useful Post:
Posts: 169 | Thanked: 12 times | Joined on Dec 2007 @ Tehran-Iran
#6
umm well please tell me can i back up everything on my n800? specially apps/games on my device memory
__________________
N800 With 2 SDHC CARD's 12 and 4 GB

But Thinking About A 64 GB !!!!

Os 2008 Chinook,I Have't Trust To Diablo!??
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#7
Originally Posted by italodance View Post
umm well please tell me can i back up everything on my n800? specially apps/games on my device memory
Sure, just put / as the source of backing up. It should also restore ok, but please put /mnt/initfs etc etc to your ignore options while backing up, like this:

Code:
dar -m 256 -P /mnt -P /media/mmc1 -s 1G -y -R / -c /media/mmc1/$(date -I)_backup -Z "*.gz" -Z "*.bz2" -Z "*.deb"
__________________
Regards,
LoCusF
http://locusf.blogspot.com

Last edited by locusf; 2008-06-01 at 10:33.
 

The Following User Says Thank You to locusf For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#8
If you cross compile 0xFFFF for arm, it can backup the rootfs into a file called rootfs.jffs2 which the flasher can then flash back.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:30.