26 March 2007, 14:39 | #1 |
Registered User
Join Date: Feb 2005
Location: montreal / canada
Age: 47
Posts: 722
|
need for help in backup/archive process
hi there!
i have an a1200 8mb fastram with a 4gig cf card plugged into IDE internal port...it's split in 6 partitions from 50Mbytes to 1.5Gbytes. until now i was backing it up on my other 4gig cf card plugged in PCMCIA by simply copying all files from each partition to a dedicated folder.... but then i realized that my PCMCIA mounted card uses FAT filesystem so this may conflict with FFS filenames..right? so i tried to archive each partition with "lha -aerxz a pc0:hd0.lha hd0:" command to avoid compression time consumption (i could then compress the files on my pc). it worked fine for small partitions, but the huge ones fail before it starts archiving...i think it crashes in the process of scanning the device to list all the files to be archived...maybe because fastmem is disabled because of PCMCIA (i use nofastmem command to avoid conflicts) and the file list consumes more than the 2mb chipram available (i use the boot without startup option in order to consume as little mem as possible)...i'm using last aminet version of lha (2.12).. could somebody help and suggest another way to safely backup my partitions on my PCMCIA mounted cf card ? thanks in advance, phil. |
26 March 2007, 19:13 | #2 |
Registered User
Join Date: Feb 2005
Location: montreal / canada
Age: 47
Posts: 722
|
i just found flat handler on aminet that assimilates devices to files...will give it a try!
|
26 March 2007, 20:14 | #3 |
Registered User
Join Date: Feb 2005
Location: montreal / canada
Age: 47
Posts: 722
|
won't work...because based on the tracks/sectors structure...won't be able to restore it on another disk with a slighlty different structure....really need an archive process based on files, saving full paths & attributes.. thanks to let me know
|
26 March 2007, 21:55 | #4 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Hello pbareges,
Maybe you should try Quarterback? Quote:
|
|
27 March 2007, 21:27 | #5 |
Registered User
Join Date: Feb 2005
Location: montreal / canada
Age: 47
Posts: 722
|
thanks for your help damiend but i don't think quarterback may help as according to the doc, it needs to build a catalog of the entire device wich i cannot afford with 2mbytes available...i was wondering if anyone knows of an archiver scanning/archiving the device in a way similar to the dos copy command..ie it finds one folder, scans the entire contents and add it the archive then goes to the next folder...etc...instead of trying to scan the whole device at once before starting to archive...
if any lha developper/maintener around...would it be difficult to implement an alternate -r option allowing for switching between scanning/archiving to avoid too much memory consumption? if i go back to my first solution (ie copy hd0: pc0:hd0/ all), what risks may i face because of the 2 filesystems being different (FFS and FAT) ? will the attributes/filenames/paths be perfectly preserved ? will empty files/directories be copied ? Last edited by pbareges; 27 March 2007 at 21:46. |
28 March 2007, 14:16 | #6 |
Registered User
Join Date: Feb 2005
Location: montreal / canada
Age: 47
Posts: 722
|
FAT/FFS compatibility issues
PLEASE!! any techie around (Zetro, StarLab, galahad, anyone) to highlight the issues related to backing my FFS partition files on a FAT partition and restoring them up on a FFS partition with a simple copy all command? (as explain earlier, filenames limitations / attributes consistency / empty files & directories, etc...)
|
28 March 2007, 14:31 | #7 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
You can format the other CF card like the one you use with the CF->IDE adapter (just switch from scsi.device to compactflash.device in HDToolBox; DEVICE= tooltype). You would be able to access it on the PC side using WinUAE. Or you can create HDF files (one for every partition) on the FAT formatted card and mount them as drives and copy the files over.
Check these two threads on how to do it: Click Click Last edited by ppill; 29 March 2007 at 14:46. |
29 March 2007, 14:40 | #8 |
Registered User
Join Date: Feb 2005
Location: montreal / canada
Age: 47
Posts: 722
|
thank you very much!! i chose to go with the diskimage option on fat filesystem...in case anyone interested : i used the diskimage.lha package from aminet..i used the createimage tool to create empty images with the same structure as each one of my partitions...it generates hdf file + mountlist for each image..i don't know why but i had to manually change the blocksize parameter in each mountlist (set to 128 instead of 512 by createimage)...then you just have to mount your device and load the corresponding image in diskimagectrl...i was able to format the image in ffs format then and copy anything to it!
|
29 March 2007, 15:02 | #9 | |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Quote:
I tried Diskimage but found it a tad slow (maybe I messed up the mountlist entries or somethin'). I use filedisk.device for mounting HDF files as drives (mind you that they have to be created and prepped under WinUAE with the RDB-Enabled option). I use giggledisk to create the mountlist like so: giggledisk uaehf.device x to RAM: where x is the unit and end up with a GGD0 and GGD0.info files with correct entries On the Amiga you change the device to filedisk and the unit entry to the path where the HDF file is placed ("CF0:BackUps/System.hdf" for example), mount the device (mount GGD0:; you can of course change the drive's name) and Bob's your uncle You'll find an example in the CF_Boot_LITE ADF Anyways... glad to hear my advice was helpful You'll find filedisk.device here |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Breakpoint on process start | Wicked_Digger | support.WinUAE | 1 | 30 March 2011 20:03 |
Load executable as a process | AmigaBoy | request.UAE Wishlist | 7 | 27 November 2009 03:42 |
Just started the 'whitening' process... | tonyyeb | support.Hardware | 38 | 22 August 2008 23:09 |
Which gamemap should i process next...?? | Joe Maroni | HOL contributions | 35 | 10 July 2008 05:36 |
Tape Backup: Archive Viper 150 (21247) | Tuffy | New to Emulation or Amiga scene | 5 | 28 March 2008 05:38 |
|
|