Groups | Search | Server Info | Login | Register


Groups > alt.comp.lang.applescript > #23

Re: Backup script OS 8.6

From Jolly Roger <jollyroger@pobox.com>
Newsgroups alt.comp.lang.applescript
Subject Re: Backup script OS 8.6
Date 2017-03-06 15:43 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <ei5ecfF8c6bU1@mid.individual.net> (permalink)
References <1n2gt8s.1fhr66eae5gmgN%adrian@poppyrecords.invalid.invalid>

Show all headers | View raw


On 2017-03-06, Adrian Tuddenham <adrian@poppyrecords.invalid.invalid> wrote:
> OS 8.6 on a beige G3.

Probably a good idea to cross/post this to comp.sys.mac.vintage. ; )

> I am looking for a way of mirroring one drive to another using a backup
> script once per day at shutdown.  I have tried several commercial
> programs but they all have disadvantages.

Back in the day, I always used Retrospect to do backups like that.

You might try Folders Synchronizer. It's been around since System 7, and
they still have old versions available for download on the web site
(look for "Previous Versions" on this page):

<http://www.softobe.com/folderssynchronizer.html>

> Is there an applescript command (or a downloadable script) that will
> copy from one disk to another only the files that have been modified
> since the last backup date, or is it a matter of writing a complex
> program to do it file by file and folder by folder?

I don't have any Macs or emulators running 8.6, but in Mac OS 9 there
is a "duplicate" command that will copy a specified file or folder to a
specified destination:

set source to ((the path to the desktop as string) & "Batch Stuff") as
alias
set destination to ((the path to the desktop as string) & "Test:") as
alias

tell application "Finder"
	duplicate file source to file destination with replacing
end tell

The task of figuring out which files have been modified would be up to
you as well. That can be scripted as well, but unless you are familiar
with AppleScript, you're in for a learning curve.

Here's how to get the modification date of a specified file, "source":

tell application "Finder"
	set modDate to the modification date of (file source)
	log modDate
end tell

Again, this is in Mac OS 9.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to alt.comp.lang.applescript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Backup script OS 8.6 adrian@poppyrecords.invalid.invalid (Adrian Tuddenham) - 2017-03-06 12:34 +0000
  Re: Backup script OS 8.6 Jolly Roger <jollyroger@pobox.com> - 2017-03-06 15:43 +0000
    Re: Backup script OS 8.6 adrian@poppyrecords.invalid.invalid (Adrian Tuddenham) - 2017-03-07 11:24 +0000
      Re: Backup script OS 8.6 Jolly Roger <jollyroger@pobox.com> - 2017-03-07 14:37 +0000
  Re: Backup script OS 8.6 John <johnrethorst@gmail.com> - 2017-09-24 21:13 -0700

csiph-web