Welcome, Guest. Please login or register.

Author Topic: Backup.rexx  (Read 1360 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline wurzelTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 273
    • Show only replies by wurzel
    • http://www.wurzel.co.uk
Backup.rexx
« on: March 04, 2008, 01:17:19 PM »
ello there,

I recently downloaded backup rexx and really like it, but am having a little trouble setting it up.

I already use Mirrorcopy but backup rexx makes it much simpler to use.

The parts that need setting are these:

dest="Backup:"

* see below for an explaination of parameters *
CALL backup("nodir",    "Notsystem:",               "Notsystem2:"   )

CALL backup("keep",     "Notsystem:",   tackon(dest,"Notsystem"     ))

CALL backup("keep",     "Sonne:",       tackon(dest, "Sonne"        ))

CALL backup("forget",   "Messagebase:", tackon(dest, "Messagebase"  ))

CALL backup("forget",   "Temporar:",    tackon(dest, "Temporar"     ))

CALL backup("forget",   "CD-Land:",     tackon(dest, "CD-Land"      ))

CALL backup("keep",     "Austausch:",   tackon(dest, "Austausch"    ))

Unfortunately, I don't speak German so am unsure what these all are.

I only have 3 disks I want to backup:

Boot: to Astuff/Bootbackup
Pro:  to Astuff/Probackup
Dat:  to Astuff/Datbackup

If anyone could help me with this, I would be most appreciative.
--
A1200 Power Tower, Blizzard 060 with SCSI, 196mb Ram, Mediator, Voodoo 5500, Spider USB, Hauppage TV, Soundblaster & Fast Ethernet cards, 2gb boot/program drive, 40gb data drive, 40x12x48 CDRW
 

Offline Thomas

Re: Backup.rexx
« Reply #1 on: March 04, 2008, 06:22:11 PM »

I am not sure whether the translation of the German words will be of any help. These are only names, they do mean nothing to the script. You have to exchange them with your own names anyway. But here we go:

Notsystem = emergency system
Sonne = sun
Messagebase = message base (this is english already)
Temporär = temporary
CD-Land = CD country (whatever this should be)
Austausch = exchange

I doubt that you are any wiser now.

Bye,
Thomas

Offline wurzelTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2007
  • Posts: 273
    • Show only replies by wurzel
    • http://www.wurzel.co.uk
Re: Backup.rexx
« Reply #2 on: March 04, 2008, 09:41:43 PM »
Actually, I think it does help. It shows me those are the names of the author's drives. i just need to substitue my own.

I'll give it a go ;)

Thanks!
--
A1200 Power Tower, Blizzard 060 with SCSI, 196mb Ram, Mediator, Voodoo 5500, Spider USB, Hauppage TV, Soundblaster & Fast Ethernet cards, 2gb boot/program drive, 40gb data drive, 40x12x48 CDRW
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: Backup.rexx
« Reply #3 on: March 04, 2008, 10:39:26 PM »
I just use a really simple amigdos script which takes a source and a dest folder and handles the rest.
Then I call like like

myscript Workbench: Workbench

I like to store the diffs also, incase i decide I want to grab some old file.

Code: [Select]
.key src/a,dest/a
.bra {
.ket }

Path Studio:Disk&File/MirrorCopy Add

set diffrt "Store:Backups/@Diff"
set destrt "Store:Backups"

makedir "$destrt/{dest}" all >nil:
makedir "$diffrt/{dest}" all >nil:

MirrorCopy from "{src}" to "$destrt/{dest}" ALL DELDIR and OLDDIR="$diffrt/{dest}" DATE STAT BUF=4096 QUIET