[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [coldsync-hackers] autorescue
- To: <coldsync-hackers at lusars dot net>
- Subject: RE: [coldsync-hackers] autorescue
- From: "Brian Johnson" <bjohnson at jecinc dot on.ca>
- Date: Thu, 18 Apr 2002 17:09:47 -0400
- Importance: Normal
- In-Reply-To: <yam8873.2766.143595232@mail.galactica.it>
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
Terrific!
Does this mean a cron job to copy the Palm pdbs to the rescue directory once
a day will allow them to be automatically reinstalled if the Palm crashes?
PS - what are the other default directories for? eg archive & Attic since
backup seems to be the main operating directory
-----Original Message-----
From: owner-coldsync-hackers@lusars.net
[mailto:owner-coldsync-hackers@lusars.net]On Behalf Of Alessandro Zummo
Sent: Thursday, April 18, 2002 5:48 PM
To: coldsync-hackers@lusars.net
Subject: [coldsync-hackers] autorescue
I'm going to implement the autorescue option.
Here are my thoughts.. if someone has suggestions, critics or
anything else, feel free to send an email.
A new directory will be created: ~/.palm/rescue . When hotsyncing
in daemon mode, coldsync will check if userid == 0. If true,
any file in /rescue will be copied to /install.
If autoinit is also enabled, it will be executed before autorescue.
This approach allow us to obtain the rescue functionality
without changing too much code in coldsync. Moreover,
any db in /install will get a chance to have it's install conduit
run after the upload.
This will obviously work only if the autoinit feature is enabled
and worked correctly, since coldsync need to have an exact
match on the username to find the right rescue directory.
An option would be to have a global, site-wide, rescue directory
(/var/lib/coldsync/rescue ?) whose content will
be installed early in the coldsync process. However,
install conduits will not be run on those files.
--
- alex.
P.S. Should this feature be also active in normal sync mode?
If yes, should files in /var/lib/coldsync/rescue uploaded as well?
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.