Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 29 Nov 2014, 03:28
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
A "Time Machine" Mimic Save Configurations Script
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Author Message
jimwg

Joined: 18 Aug 2013
Posts: 121

PostPosted: Wed 06 Nov 2013, 06:49    Post subject:  A "Time Machine" Mimic Save Configurations Script  

Greetings!

My Mac friends constantly cluck that Linux and Mint don't have "Time Machine" like Macs do, but one nice fellow said it might be possible to do a long Puppy script that periodically saves versions of all the configuration files in your system, from windows manager settings and session settings and even SeaMonkey configurations which you can recall after a crash or making bad changes in your system. This kind of programming is way beyond me to do, but such a script could be a real lifesaver especially for newbies and tech tyros who just want taste what Puppy's like and will make all kinds of tinkering mistakes along the way, and I'm asking whether anyone in Puppy has ever made such an attempt.

Thanks for any info!

Jim in NYC


aves the confiuration
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Wed 06 Nov 2013, 08:30    Post subject:  

Perhaps the constant clucking is to try and justify the extra cost..... who knows. There's the one about not sitting amounst mockers......

Anyway there is a live save backup script thats floated around here for some time.

I use sfs saves so it inherently makes a backup.

Or just make a copy of your save file manually now and then...you can zip it to make it much smaller.

mike

"Time Machine" reminds me of the wonders of deep freeze on windows that was fashionable for a while... why not have a system thats made to be less vunerable instead....
Back to top
View user's profile Send private message 
jimwg

Joined: 18 Aug 2013
Posts: 121

PostPosted: Wed 06 Nov 2013, 08:39    Post subject:  

mikeb wrote:
Perhaps the constant clucking is to try and justify the extra cost..... who knows. There's the one about not sitting amounst mockers......

Anyway there is a live save backup script thats floated around here for some time.

I use sfs saves so it inherently makes a backup.

Or just make a copy of your save file manually now and then...you can zip it to make it much smaller.

mike

"Time Machine" reminds me of the wonders of deep freeze on windows that was fashionable for a while... why not have a system thats made to be less vunerable instead....


Thanks for your swift reply!

I think the idea is to only copy configuration files, not entire apps or save files, which mean such saved configuration files would be very tiny so you can have lots of such config snapshots made at various periods of time to roll back to like "Time Machine". I'll seek the file you mentioned and maybe find someone who can take it and soup it up to do such. Thanks for the tip!

Jim in NYC
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Wed 06 Nov 2013, 08:56    Post subject:  

well /root and /etc are the 2 main folders... but the backing up your save idea is that your full setup is easily restored so why not Smile

mike
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2474
Location: Heart of Texas

PostPosted: Wed 06 Nov 2013, 23:39    Post subject:  

Of course he may wish to try multisession DVD's for this purpose, Also Fatdog64 version can multisession to hardrive, so roll backs are easy.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2673
Location: New Zealand

PostPosted: Fri 08 Nov 2013, 15:40    Post subject:  

Could this be achieved by sticking with frugal installs and modifying the pupsave code so that after every savefile update (30 mins or however the pupsaveconfig is set...) a backup of the current savefile also takes place to an external drive (ie /home or something). This seems easy to do.

If a smaller subset of files (rather than the whole savefile) is required then I think puppy needs re-shaping so that all of the config files/personal settings you are looking for exist inside a separate sfs which would be significantly smaller than the entire savefile.

Or would it? Maybe the better idea is to stick with backing up the whole savefile but make sure lots of crap is never kept in the savefile in the first place. Keep the savefile slim and trim and use it (or it's backup...) as the Time Machine. There are methods for moving browser temp files etc out of the savefile - and methods for apps to be made portable and kept out of the savefile ie: in /home or elsewhere externally.
Back to top
View user's profile Send private message 
jimwg

Joined: 18 Aug 2013
Posts: 121

PostPosted: Fri 08 Nov 2013, 17:08    Post subject:  

greengeek wrote:


If a smaller subset of files (rather than the whole savefile) is required then I think puppy needs re-shaping so that all of the config files/personal settings you are looking for exist inside a separate sfs which would be significantly smaller than the entire savefile.
.


BINGO! Exactly what I meant! Shrewd Man! Smile _Just_ backup configuration files and personal settings, not the whole banana bunch, especially for those sans DVDs or CDs or even HDs! Mint mavens working on such a script coupled with "Deja Dupe" (?) where you can select app configs to copy say the result would be very tiny daily version files that can bail you out of many misconfig/bad setting jams. Why can't such a modified script work with Puppy?

Jim in NYC
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2673
Location: New Zealand

PostPosted: Fri 08 Nov 2013, 20:16    Post subject:  

The tricky part might be coping with the variety of programs and window managers that users choose to install. For example: where does each browser keep its bookmarks? Homepage? Personal security settings? As far as I can tell there are many different places depending on browser brand and version.

And which window manager would the "save script" be written for? Each WM stores settings in a different place. And what about installed fonts?? That seems to be a nightmare as far as I can see - fonts seem to be in all sorts of places.

Would you be backing up recent word processor documents, or assuming that the data had already been saved externally?

I think such an idea would have to start with designing/building a single puppy - well structured and tightly controlled. If such a puppy could be configured so as to have personal settings in one place (sfs?) then maybe other pups could gradually mimic the same thing.

Certainly would be handy to have a pup that shutdown securely without having to wait for a 1gig savefile to copy to usb.
Back to top
View user's profile Send private message 
bill

Joined: 28 May 2008
Posts: 495

PostPosted: Sun 10 Nov 2013, 10:17    Post subject:  

Quote:
GreenGeek says:
Certainly would be handy to have a pup that shutdown securely without having to wait for a 1gig savefile to copy to usb.


Certainly is and using Seamonkey 2.0.7 . Of course you have to do the drill
here.
http://www.murga-linux.com/puppy/viewtopic.php?t=62110&start=33
Back to top
View user's profile Send private message 
jimwg

Joined: 18 Aug 2013
Posts: 121

PostPosted: Sun 10 Nov 2013, 11:16    Post subject:  

greengeek wrote:
The tricky part might be coping with the variety of programs and window managers that users choose to install. For example: where does each browser keep its bookmarks? Homepage? Personal security settings? As far as I can tell there are many different places depending on browser brand and version.

And which window manager would the "save script" be written for? Each WM stores settings in a different place. And what about installed fonts?? That seems to be a nightmare as far as I can see - fonts seem to be in all sorts of places.

Would you be backing up recent word processor documents, or assuming that the data had already been saved externally?

I think such an idea would have to start with designing/building a single puppy - well structured and tightly controlled. If such a puppy could be configured so as to have personal settings in one place (sfs?) then maybe other pups could gradually mimic the same thing.

Certainly would be handy to have a pup that shutdown securely without having to wait for a 1gig savefile to copy to usb.


Well, if several Mint people are working on a one-size-fits-all config versioning save script, there must be a way to adapt it for Puppy. As they say, just grab basic configuration changes that's all, like desktop settings and Seamonkey bookmark and settings files and Libreoffice ".soc" files (you'd likely understand all that way more than I!). I just say don't over-reach grabbing everything and the moon, just grab and save the simple stuff that people most tinker with and screw up. I mean, we laugh at Macheads paying through the nose for having such a feature via "Time Machine" -- but at least their last laugh HAS it! Sad

Jim in NYC
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2673
Location: New Zealand

PostPosted: Fri 06 Dec 2013, 13:56    Post subject:  

Sounds as if Barry K himself is contemplating something a bit like Time Machine (if I correctly interpret his thread...)
see here:
http://bkhome.org/news/?viewDetailed=00013

BarryK wrote:
.... In addition, I am thinking of implementing yet more interesting features:

11. Install and uninstall SFS files.
12. Simplified version upgrade (and downgrade).
13. Auditing, allowing rollback (system recovery).
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Fri 06 Dec 2013, 14:50    Post subject:  

Quote:
.... In addition, I am thinking of implementing yet more interesting features:

11. Install and uninstall SFS files.


guess I made enough noise .... another 'original' idea lol

just posted for the record

mike
Back to top
View user's profile Send private message 
starlyte


Joined: 30 Apr 2007
Posts: 33
Location: near Carcassonne, S. France

PostPosted: Tue 10 Dec 2013, 09:58    Post subject:  Time Machine
Subject description: Reply, what I do
 

I find that a regular safe gaurd with Hot Backup very useful. I use either another hard drive or an external flash drive(SDcard, USB).
If my system crashes I just change the name so it ends in .3fs, and replace my SFS save file.
If I don't forget it's OK.
I must admit that it'd be nice to get a regular back up automatically, but this can be done with other systems for back ups.
I've never used Apple, so I don't miss it's "Time Machine", but I don't miss it's restrictions, cot, or closed sources, either.
TBH, pressing on a button every few days, or once a week largely out weighs the disadvantages in other fields, compared to Linux, and especially Puppy. Very Happy

But if ia system like that came out for Linux, I must admit, it would be really useful, for those of us who let slip regular back ups, from time to time, like me for example. I do try to remember, though, having lost too many good, well balanced SFS saves Wink
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2474
Location: Heart of Texas

PostPosted: Tue 10 Dec 2013, 10:38    Post subject:  

really have any one on this thread tried multisession dvds? hate to harp but this already exists in a mature format for 7 years. It will do what you are requesting and still have full support for the forseeable future. Maybe give it a try and port the idea off of need for optical drive. Fatdog64 lets you multisession on most any media not just optical like normal 32 bit puppies.

It may just be a problem with terminology. Multisession save just the changes between uses. and you can snap shot at anytime, and at shutdown automatically. You can contol if changes are ignored how many roll backs you want. An since its on write once and never actually erased. You can with a single file edit un rollback if you over rolled back.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 10 Dec 2013, 11:44    Post subject:  

I used to do fully manual back up of the different save files
for Lupu and Slacko and all the other puppies I try out.

Then I got too lazy so that may indicate others also
would need something automatic Smile

I remember that one adventurous guy use a script
that did that back up "live" which could fail
if it did happen when something else changed
during the minute it takes. But he had good experience
using it. Typically I even failed to get how one set it up.

And the book mark may be on another computer I used at that time.

It just a post in a thread so not a thread having a title
to search using my signature link

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0959s ][ Queries: 11 (0.0080s) ][ GZIP on ]