The time now is Thu 23 May 2013, 02:38
All times are UTC - 4 |
|
Page 2 of 2 [27 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Sat 03 Mar 2012, 03:57 Post subject:
|
|
Update Version 0.4 available at two posts above!
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2211 Location: Gatineau (Qc), Canada
|
Posted: Sat 03 Mar 2012, 05:41 Post subject:
|
|
Hi, RSH.
You're a real 2-legged Puppy! People offer you a bone and you keep at it until it's clean!
Many thanks for this script!
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Sat 03 Mar 2012, 09:18 Post subject:
|
|
I've attached a file that contains lots of blank/empty stuff, organized as it appears when installed... This includes settings for many popular apps, font + GTK settings, some puppy settings, and so on... I probably missed a load of stuff as well...
The idea will be something like:
- add the attached stuff to a new folder, ~/.migration_tool/
- run a 'migration_tool' script, which does:
| Code: | - copy ~/.migration_tool/ to ~/.migration_tool/[date]/
- if exists in ~/.migration_tool/[date], find it in main fs
- if found in main fs, replace existing equivalent in ~/.migration_tool/[date]/
- package up as .tar.gz, to be added later |
I may have a go at this soon... Will need to go around installing a lot of apps to test it tho
| Description |
|

Download |
| Filename |
BKP_FILES.tar.gz |
| Filesize |
1.82 KB |
| Downloaded |
162 Time(s) |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Sat 03 Mar 2012, 14:41 Post subject:
|
|
| musher0 wrote: | Hi, RSH.
You're a real 2-legged Puppy! People offer you a bone and you keep at it until it's clean!
Many thanks for this script! |
It's just because of two things:
1. I am a puppy addict.
2. I do learn from every single line
The "offered bone" is mostly inspiration to me. As an Artist (i would like to say we are all artists) i am in the need for inspiration (offered bones).
Without that inspiration nothing would exist!
So, therefor, the credits are always going to those who made suggestions and offering ideas.
The code is surely important but it is not only the code!
Have a nice weekend
RSH
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
p310don
Joined: 19 May 2009 Posts: 589 Location: Brisbane, Australia
|
Posted: Sun 04 Mar 2012, 10:09 Post subject:
|
|
I feel special.
I sprout an idea, and you guys come up with the beginnings of a solution. Love it. I don't have any coding, nor barely command line skills, so I am really relying on you other guys skills to do this. Thanks
RSH - I really like where you are headed with this. I think your vision is slightly different to mine, but you have created a perfect foundation to build upon I think. My only suggestion / criticism / room for improvement at this point, would be to ask, "is there a reason you chose to default to saving to /root?" I might have thought that saving outside the save file /mnt/home would make more sense to copy it to new save file.
sc0ttman - As I said, I don't code, so I'm struggling to keep up with what you have offered. If I get it correctly, your idea is to replace those bits in your attachment, with the equivalent bits from the original save file, then compress that into one big .tar.gz labelled by date? Then you can uncompress that into the new save file, replacing the settings?
For both ideas offered, is there a way to make it easy for a user to do all this from the new puppy. Currently, RSH's works from the old save file to make backups which can then be unpackaged into the new. If this tool was run from the new Puppy save file, located the old save file, copied the bits out of it and replaced the new, default settings with the old, personalised settings it would be perfect.
Thinking out loud here, if running from the new puppy installation, creating a tar.gz is almost pointless as an unnecessary step. Simply copy the old and overwrite the new files should be all that is needed. For email and browsers, the offline storage / cache could be huge, thus making compressing very time consuming.
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Sun 04 Mar 2012, 12:10 Post subject:
|
|
| p310don wrote: | | sc0ttman - As I said, I don't code, so I'm struggling to keep up with what you have offered. If I get it correctly, your idea is to replace those bits in your attachment, with the equivalent bits from the original save file, then compress that into one big .tar.gz labelled by date? Then you can uncompress that into the new save file, replacing the settings? |
Exactly.
But about the GUI part, as I say, I *may* make one of these things, I may not... I get lazy lol ...
I don't see it mounting a save file, ripping out old parts and sticking them in the current (loaded) save file... I see a GUI tool with 2 options: 'create backup' and 'import backup' ... The GUI tool would need to be installed on the old and new puppy to work..
But at the very least, you can open up the BKP attachment I posted, and add to it the other files or folders which you would want to be backed up... At least that way we all have access to a 'shell' that can show what is able (and desired) to be backed up..
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Mon 05 Mar 2012, 20:46 Post subject:
|
|
| p310don wrote: | | RSH - I really like where you are headed with this. I think your vision is slightly different to mine, but you have created a perfect foundation to build upon I think. |
My vision (by reading your suggestions) was just an easy tool to make backups of directories and it is based on a static script, that i do (now did) use to make backups of directories where i did made changes while working on the new LazY Puppy iso.. To make such an application for the use at single files it would be a lot more programming work to do. I am not really a bash/shellscript programmer (i do still learn). I am sure, users like scOttman, jpeps or sunburnt and surely some more would be the right programmers on such a project.
But, to make backups of directories would always be a good point where to start at - i thought so.
| p310don wrote: | My only suggestion / criticism / room for improvement at this point, would be to ask, "is there a reason you chose to default to saving to /root?" I might have thought that saving outside the save file /mnt/home would make more sense to copy it to new save file.
|
I did choose /root as default, because i do not know what is available (hd, flash, usb). Directory /root is always there. It would surely make more sense to save it outside the save file.
I did update the download post. Now is version 0.5 and it has German and English localisations. Also the save path is now always saved, so if you change the save path it will be the default save path at next start.
Note: the program does not proof the path's existence. So, this needs your attention, to make sure, the chosen/entered path does exist.
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 06 Mar 2012, 01:01 Post subject:
|
|
Update Version 0.6 available!
http://murga-linux.com/puppy/viewtopic.php?p=609134#609134
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Sat 10 Mar 2012, 09:36 Post subject:
|
|
Update Version 0.9 available!
http://murga-linux.com/puppy/viewtopic.php?p=609134#609134
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2211 Location: Gatineau (Qc), Canada
|
Posted: Thu 22 Mar 2012, 04:28 Post subject:
|
|
Hello, everyone.
Not to diminish RSH's excellent work in any way, but it occurred to me that there is another, perhaps more simple and "sledgehammer" way to do this:
Save a tar archive of your entire /root directory somewhere safe. Then, when you upgrade to your new Puppy, unpack it, and pick and choose what you want to re-incorporate.
In so doing, you'll additionnaly have the listing of packages under .packages, which will be a good indication of the pets that you may want to re-install.
Just a thought.
Of course, if you want to download RSH's latest version of LaZyPuppy, he's incorporated his backup script in it! (Speaking of "lazy" [in the strictest sense of the word, of course]... )
Have fun!
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Sat 24 Mar 2012, 04:25 Post subject:
|
|
Update Version 1.4 available!
Moved to here: http://murga-linux.com/puppy/viewtopic.php?p=614348#614348
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 28 Mar 2012, 00:23 Post subject:
|
|
| Quote: | | simple and "sledgehammer" |
In ye olde Puppy days
every 6 weeks. New Puppy. We start from scratch.
Yikes!
I can mess up an operating system in a very short time, even Puppy (going to dubious sites, downloading experimental software, writing rubbish programs in experimental languages and allowing fish to use my computer)
I like to freshen up with a clean install.
I am not most users. I never install to hard disk always run from DVD.
I keep data and operating system separate. for security and an easy new start.
Could a configuration data file be part of woof2?
Containing language details. Connection and hardware details (hardware, sound and connection details to start perhaps)
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 [27 Posts] |
Goto page: Previous 1, 2 |
|
|
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
|