Not sure how strict the etiquette is on the forums but I feel like my progress has evolved enough from my last post to warrant a new question… I am now trying to figure out how to omit a directory (or directories) from the backup command.
I have the manual in front of me and it lists the option pd=[^]pattern - “Indicates that only directories with names that match (or don’t match) this pattern are to be copied.”
It doesn’t have a usage example but it seems self-explanatory… except I can’t seem to get it to work. I have a directory 3:/log/data/[other directories] that houses gigabytes of data which are not a priority when trying to make an otherwise full drive backup, and no matter how I structure the option, it still tries to copy the /data/ directory.
Do I need an asterisk somewhere at the end as a wild card?
Do I need a slash at the end or no?
Do I need quotes anywhere?
Is the position of the variable in the command important?
This is the sequence I go through when performing this process, basically an established running machine and I come in with a fresh blank hard drive.
install backup drive as slave
boot from floppy
mount disk 3 1:/drivers/disk.ata pa=7
mount disk 4 d=3 p=2 pa=7
fdisk 4
os type 7, start cyl 0, end cyl 999, save quit
mount disk 4 d=3 p=2 pa=7
dinit 4 +h
backup 3:/ 4:/ +a s=c p=^bitmap +q
logoff
power machine off
connect second drive as single drive
reboot from floppy
mount disk 3 1:/drivers/disk.ata pa=7
boot 3:/netboot/os.2.21atpb c=3:/netboot/config_file d=3:/drivers/disk.ata +H +P +q
fdisk 3
make bootable, save quit
restart and confirm boot/function
For whatever reason, I have not needed to provide t/h/n info when specifying the drive, not sure if that’s the bios or just the drive controllers themselves but it’s a small luxury.
I was previously specifying 1023 as the “end cylinder” when formatting, but got repeated failure to copy errors so I dialed it back to 999 (still about 8 gigs at least).
What might I be overlooking when trying to omit these directories?