Forum
« SalineOS backup »

Welcome Guest. Please Login or Register.
Jun 20, 2013, 12:44am



Return to or visit the SalineOS webpage

Forum :: General :: Testing and Development :: SalineOS backup
« Page 5 of 5 Jump to page   Go    [Search This Thread] [Share Topic] [Print]
 AuthorTopic: SalineOS backup (Read 1,811 times)
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #60 on Jun 29, 2012, 5:49am »


Quote:
The recovery environment will be a distro in and of itself.
I like your thinking, I'm all in favour of a recovery enviroment.
Will you be able to use the option in the original Saline-backup to backup any Debian partition, I still use the original script for backing up as I find it invaluable.

The Saline-backup scripts don't run inside Solus but I can backup/restore the solus install from inside SalineOS using the Saline-backup scripts.

I just encountered an oddity with Saline-backup
I took a backup of SalineOS priory to installing something with a lot of dependancies but when I restored the backup it stalled out I think on writing the grub.

I had installed siduction on a caddy drive using btrfs file system and I think that caused a problem with Saline-backup when restoring.

No problem for me, everything back to normal now, I just thought I'd mention it.

Very eager to try SalineOS 2.0

edit
Another unusual thing with siduction was that the installer was a series of html pages.
« Last Edit: Jun 29, 2012, 5:56am by ukbrian »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #61 on Jun 29, 2012, 7:42am »


Quote:
I'm all in favour of a recovery enviroment.
Will you be able to use the option in the original Saline-backup to backup any Debian partition, I still use the original script for backing up as I find it invaluable.


No this has been removed some time ago, as I fully expect that it will stop working on Debian testing and unstable systems.


Quote:
The Saline-backup scripts don't run inside Solus but I can backup/restore the solus install from inside SalineOS using the Saline-backup scripts.


Assuming that Solus is compatible with Debian Wheezy, you could use the SalineOS repository on Solus and install SalineOS backup and its dependencies, that is when I have everything in there. My immediate assumption is that Solus doesn't have yad available, which the SalineOS repository will have (Its one of three packages I still need to put together yet).


Quote:

I just encountered an oddity with Saline-backup
I took a backup of SalineOS priory to installing something with a lot of dependancies but when I restored the backup it stalled out I think on writing the grub.


This is most likely do to trying to use an 32 bit system to restore a 64 bit .backup file or vice versa, this will error out in newer versions of SalineOS backup. (Available in git) One of the reasons for the restore environment is that this will be prevented entirely.


Quote:

I had installed siduction on a caddy drive using btrfs file system and I think that caused a problem with Saline-backup when restoring.



Quote:

Very eager to try SalineOS 2.0


Me too -.-


Quote:

Another unusual thing with siduction was that the installer was a series of html pages.


Yes, this is becoming more common in the Linux world, and expect it to continue. Assuming you know the web technologies well, it don't take long to learn how to make them run like local apps, and interface with more traditional desktop languages such as python, bash, ruby, ect.. The easiest way is to have a web server listening on the local loopback device on the machine and create a launcher to have webkit render that particular address and port.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #62 on Jul 14, 2012, 1:22am »

A new version of SalineOS backup is in git ready for testing. I have disabled the option for recovery drives and recovery partitions for the time being. This code needs reworked almost from the ground up at this point and I don't believe I will have it for dev1, depending on the time I have I might have it done before release? I am liking the idea less and less as I try and hammer out all the details, seems there are quite a bit of little demons in this idea.

In the mean time you will find two new options, one of which is actually implemented. Clone to partition and Clone to USB, cloning to partitions is all written up and I am testing now (Will fork this code off for the Clone to USB once it is all tested). This option is the easiest way I can think of to backup the entire system, you simply clone to a partition(s) and you can then clone it back for restore. In the mean time if your main system goes down you can use the cloned system 100% as is immediately. I wanted to breakdown backing up and restoring to the simplest form I could, and this is it. The big limitation is that no compression is used, the entire system is an exact copy except for what you decide to exclude and the /etc/fstab file.
« Last Edit: Jul 14, 2012, 1:22am by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #63 on Jul 25, 2012, 8:38am »

The Clone to USB option is now available, this option will auto format, clone the system and install grub to a selected USB flash drive or hard disk.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #64 on Aug 17, 2012, 9:12am »

Just a quick heads up, for those running salineos-backup on 1.x, you will not want to use the version I just uploaded to git. It is officially for Wheezy based systems only now. It will simply not work on Squeeze or any older Debian based distributions.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #65 on Aug 17, 2012, 12:49pm »

I just copied saline-backup into an LMDE Xfce install then created a .backup file and then restored the backup to a different partition on the same machine, I did the partition backup/restore before but I don't do USB things and I prefer backup files to partitions.

It might be worth you checking the permissions on the saline-backup files in github as I had to change the permissions of the /bin file and the launcher but it might be me.

I'm going to make a remastersys of LMDE to see if I can create a restore ISO next.

Would the backup be likely to work with solus, it's based on stable but has a 3.3.6 kernel.

I see you are very busy on github, when/if you need the remaster/installer tested on LMDE let me know, I much! prefer your installer to fragadelic's.

edit
I couldn't find the 32 bit Yad in github either
« Last Edit: Aug 17, 2012, 1:03pm by ukbrian »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #66 on Aug 18, 2012, 7:12am »

SalineOS backup now requires xz support in mksquashfs and I have patched Remastersys to use this compression method by default on SalineOS. The difference is actually quite huge, my old test images for dev1 were 1.2 gigabytes, after switching to xz the image comes out to 890 Megabytes. Expect making backup files and Remastersys images to take significantly longer, but be significantly smaller.

The other change that has been made to SalineOS backup recently was to account for /var/run and /var/lock being moved to /run and /run/lock.

Just use an older version of SalineOS backup on stable based systems, nothing has really changed except better compression, that is not available on Stable.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #67 on Aug 18, 2012, 11:02am »


Quote:
SalineOS backup now requires xz support in mksquashfs and I have patched Remastersys to use this compression method by default on SalineOS. The difference is actually quite huge, my old test images for dev1 were 1.2 gigabytes, after switching to xz the image comes out to 890 Megabytes. Expect making backup files and Remastersys images to take significantly longer, but be significantly smaller.
I did notice that salineos-backup was taking longer, personally I would prefer it to be quicker as HDD's are big nowadays, perhaps it would be possible to have a variable with 2 settings of "Normal" and "Faster" but not really important reliability is the main concern with backups. I find I might make 10 or more backups for every restore.

Quote:
The other change that has been made to SalineOS backup recently was to account for /var/run and /var/lock being moved to /run and /run/lock.
Over my head, completely out of my depth. [image]

Quote:
Just use an older version of SalineOS backup on stable based systems
Perhaps not the best thing to say to me ;)
In windows I use Macrium Reflect Free Edition and I can point at any partition/drive to back it up, with qt4-fsarchiver I can back up any Linux partition, likewise with the first version of salineos-backup I could back up any Debian Stable partition and I'll be sad when it comes to the end of it's life and stops working.

Please don't ban me for mentioning it again but it is a jewel with a beautiful GUI.

I used fragadelic's Wheezy installer recently and it didn't even let me point to the drive I wanted to install the MBR to. He should definitely use your installer in my opinion, it's so much more user friendly.

Off topic
When you have Wheezy up and running and time on your hands [image] It might be worth looking at doing an Xfce version of solus as Ikey will only be doing Gnome.
I wasn't to keen with version 1 and 1.1 but the recent release 1.2 I'm quite impressed with.
Considering that he's only been developing it for 7/8 months he's done well.

The main focus now seems to be on laptops and having an up to date kernel/firmware for the multitude of different hardware in laptops seems a desirable feature plus up to date apps but I'm only a simpleton enduser who lives in a dream world.

I think I will be having 2 permanent OS's on my machines and they will be
1.
SalineOS
It's never let me down.

2.
SolusOS
Curious where it goes
« Last Edit: Aug 18, 2012, 11:18am by ukbrian »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #68 on Aug 18, 2012, 12:01pm »

The moving of /var/run and /var/lock basically means that for SalineOS backup to run properly on Wheezy, I had to break it on Squeeze. I could add a whole bunch more code to make it run on both, but really current stable is no longer my priority. SalineOS backup is never going to be released officially for 1.x and never was planned to be. I just happened to write it on my stable system.

For backups I think it makes the most sense to use as high as possible compression. Ideally people will store backup files on USB drives or a secondary disk, since storing them on the same hard disk as the main install defeats half the point. I picked up a 32 gigabyte USB 3 flash drive for what seems like nothing, and with xz compression it can fit my whole system sans the KVM virtual disks. If you are concerned about speed, the clone option does a direct copy of the system. This uses 0 compression and 0 restoration time, since you can simply reboot into the new system immediately. Then you can clone it back to the original partition at your leisure.

Seems like forever ago that I actually had time on my hands. I buried myself pretty deep in ambition for 2.0, but I am digging myself out at a pretty steady pace. At some point I will have to try SolusOS, I haven't even had the time to check it out.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #69 on Aug 18, 2012, 3:37pm »


Quote:
Seems like forever ago that I actually had time on my hands. I buried myself pretty deep in ambition for 2.0, but I am digging myself out at a pretty steady pace. At some point I will have to try SolusOS, I haven't even had the time to check it out.
He's just finishing off his new Squeeze respins,
Quote:
My "schedule" if you like, so +SolusOS people know what I'm up to :)
* Rebuild the 3.0.0-ck1 kernel for SolusOS 1 to include vga + bluetooth fixes
* Respin all 3 Eveline ISO's using 3.0.0-ck1 kernel for legacy series
* Get back to SolusOS 2 development
* In between bring in a replacement update client for Eveline. More details on this in my next post.
He'll be doing a beta for Wheezy after that that might be worth you looking at.

The reason for a replacement update client is because the new 1.2 version is still having problems with some video cards, quoted from google+ today
Quote:
Ikey Doherty
17:25 - Public
SolusOS Update Client:
Currently we rely on gnome-packagekit for updates. This, up until now, has proven a very efficient way of upgrading SolusOS installations. However, at the end of the day, its nothing more than a simple "list all updates and mark them for upgrade". It has no concept of doing per-task configuration etc.

Proposal:
We need something that can do everything gpk-update-icon/packagekit is doing. When an update is available, let the user know (via notify-osd).
Needs to be able to take a specific action on certain packages.

Notable Cases for per-task knowledge:
* Kernel upgrade should ALWAYS force a dkms rebuild of all modules, i.e. nvidia + amd drivers
* Ability to display warnings and notices from us to users regarding certain updates they may wish to ignore for now (API changes)
* Ability to hold back a package depending on the particular machine (X break)

Implementation:
* Most likely aptdaemon or apt python bindings.
* Python 2.7

Design
My brain works in a way where I need the overall appearance of something working first before I "wire" up all the code. However its going to be a daily part of SolusOS user's lives. I'd like to see some ideas and concept-work from SolusOS users if at all possible :)
Sometimes it pays to back off from what your engrossed in and look back from a distance.

All I know is that SalineOS has been running faultlessly for nearly 18 months now, very, very impressive!! well done that man
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #70 on Aug 19, 2012, 5:58am »

I just ran saline-backup on LMDE and I wonder if this screen would be better with a size column ie. 10.4 GB after the location column.
[image]
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #71 on Aug 19, 2012, 8:09am »

Ikey just posted on Google+
Quote:
Ikey Doherty
13:15 - Public
I know a few distro devs are now looking at SolusOS as a base.
I got no issue with that. Please note though, we're limited on resources.
So please have the courtesy to set up your own mirror or contribute
a server. Kinda like seeding back to a torrent.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: SalineOS backup
« Reply #72 on Aug 19, 2012, 12:05pm »

I owe you an apology Anthony, I've just been playing with clone partition and I'm still thinking about the implications.
Thanks for pushing a stubborn old man with fixed habits in the right direction.

I had read before of folk using gparted to clone partitions but salineos-backup don't do that, I guess what it does is install a running system to a different partition which is significantly different.

I like it as I have esata/USB hubs and a few spare HDD's about the place.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: SalineOS backup
« Reply #73 on Aug 19, 2012, 10:13pm »


Aug 19, 2012, 12:05pm, ukbrian wrote:
I owe you an apology Anthony, I've just been playing with clone partition and I'm still thinking about the implications.
Thanks for pushing a stubborn old man with fixed habits in the right direction.

I had read before of folk using gparted to clone partitions but salineos-backup don't do that, I guess what it does is install a running system to a different partition which is significantly different.

I like it as I have esata/USB hubs and a few spare HDD's about the place.



That's exactly right but it begs for repeating, SalineOS backup does not care about your currently used partitions, only the files on them. This allows SalineOS backup to be way more flexible than the filesystem based backup options.
Link to Post - Back to Top  IP: Logged
« Page 5 of 5 Jump to page   Go    [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile