Upgrade / Migration tool
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:
I may have a go at this soon... Will need to go around installing a lot of apps to test it tho
The idea will be something like:
- add the attached stuff to a new folder, ~/.migration_tool/
- run a 'migration_tool' script, which does:
Code: Select all
- 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
- Attachments
-
- BKP_FILES.tar.gz
- (1.82 KiB) Downloaded 426 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
It's just because of two things: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!
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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
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.
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.
Exactly.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?
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..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
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.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.
But, to make backups of directories would always be a good point where to start at - i thought so.
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.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 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.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
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!
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!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
In ye olde Puppy dayssimple and "sledgehammer"
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)