Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Should I use a CoW filesystem on my PC if I only wanted snapshot capabilities ? Post 303044732 by stomp on Monday 2nd of March 2020 07:40:41 PM
Old 03-02-2020
Quote:
Also what if the drive is encrypted ? I will be going with full disk encryption.
Encryption makes the backup task more difficult. That's why I avoid encryption except where I really have the need for it(which was never case for me so far, and thus I won't be helpful on the topic due to the lack of experience with it). You probably want to encrypt your backup space too. You need to get aquainted with the tools to mount the encrypted storage from within your running os and from a preferred rescue system.

Quote:
What would be that proper backup strategy ? CloneZilla ? Or LVM snapshotting ?

Could you tell me how rsnapshot will help in a case where lets say the system is unbootable ? How do you restore then using rsnapshot ? Does it work when the system is unbootable ?
Since you're a beginner, a CloneZilla can be a fallback solution until you're famillar enough with your linux os. With CloneZilla you can save and restore the os partition without knowing very much about linux.

For an easy start you may take a usb disk and put your data there. A more advanced and safe approach can be to have a networked device that connects via network to your computer and backups the updated data regularly. (rsnapshot can be used with both variants).

There are lots of backup tools. A simple backup tool is the mentioned rsnaphot. I would recommend it too. It's a file based backup in contrast to the image based backup of clonezilla. It's not primarily targeted for full system restores, but that can be done without problem too. If your system crashes completely, you can take the following steps to recover an os installation by only having the files:

Full system restore to an empty disk
  1. boot into a rescue system via pendrive or cd/dvd (systemrescuecd, grml or knoppix are 3 good alternatives)
  2. partition, format and mount hard disk(maybe also a replacement hard disk)
  3. copy data from the backup to the mounted disk
  4. change filesystem config file(/etc/fstab)
  5. Change configuration of boot loader(grub) and install boot loader onto hard disk

These are quite some steps to learn the commands if you never did it. But once you got that, restoration is easy. For me with many years of linux experience this had become childplay for me. I did it hundreds of times with very different systems and in contrast to windows, where this is just not possible: There maybe challenging advanced linux setups, but 99,9% are solvable and most of them with ease, when you have the basic knowledge.

... and of course one can just examine the problem using a rescue system and fix it without the need for a full restore.

Some cases I experienced which required fixing it from outside the running os:
  • forgotten root password: I had to append init=/bin/bash at the boot screen, reset the password
  • misconfiguration of the bootloader(grub): Boot into resuce, mount the disk, fix the bootloader config
  • a corrupted file system where one or more essential file(s) were missing(very rare): Boot into rescue, copy the backup files of the base system onto the system
  • replacing a faulty disk or migrating a system from one hardware to another: the full program from above
  • an installation action, which wasn't thouroughly reviewed, so essential packages got removed(very rare): Boot into rescue, install the packages again.
  • troubleshooting with a password protected bootloader: boot into rescue, do the fixing from there and/or remove the password protection from the boadloader config

Quote:
Is the licensing the only problem for Torvalds?
Yes. And for him and many others in the field of the OSS-Community it's a complete showstopper. It's absolutely inacceptable for those to put work into something where lawyers could come and pry the work out of the hands of the community.

Quote:
But doesn't zfs use more RAM than btrfs ? So isn't btrfs "the better ZFS" for desktops ?
There are tales from the past about the enormous memory hunger of zfs. Those tales belong to the lands of fairy tales and myths. But at the core there is a grain of truth. btrfs is more resource efficient than zfs. I read that a system with 1 GB should be an adequate minimum for use with zfs. If you have a new system with 8 GB of ram or more, this won't be a limiting factor. And again: If you really want to use deduplication: Carefully read the documentation before you decide to use it! And as already written: the same goes for btrfs!

Last edited by stomp; 03-03-2020 at 07:19 AM..
These 2 Users Gave Thanks to stomp For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Capabilities?

We are looking into buying a new software, billing software that is, and want to know if you can run that on the same UNIX server as another major software? Is there a limit to the different types of software Unix can run, or is it like windows where you can install as many as you like? ... (2 Replies)
Discussion started by: hoz
2 Replies

2. UNIX for Advanced & Expert Users

p570 Capabilities

Hi there. I've been tasked with making a new design for our Unix systems :eek: Now the question I have is; How many LPARs can a p570 hold WITHOUT using a VIO Server. Many Thanks Kees (1 Reply)
Discussion started by: KeesH
1 Replies

3. Red Hat

Adding capabilities to an RPM

Hi. I downloaded a package that could only be installed on RHEL5, and not 4 or 3, so I got the source in order to compile it on RHEL 3 so hopefully it will work on all versions. So I have the source for a working package, but when I build it in RHEL 3 and then try to install it in RHEL 5, it... (6 Replies)
Discussion started by: Boaz
6 Replies

4. Filesystems, Disks and Memory

Wanted: Geographically distributed filesystem solution

I'm looking for a means to ensure that servers in the two or three datacenters, connected in a ring via IP through two ISPs, can distribute load and/or replicate data among at least two SAN-class disk devices. I want to evaluate several solutions, and I'm open to solutions ranging from free,... (6 Replies)
Discussion started by: otheus
6 Replies

5. Solaris

Cannot use filesystem while sending a snapshot

I've got a Solaris 11 Express installed on my machine. I have created a raidz2 zpool named shares and a simple one-disc zpool named backup. I have made a script that would send a daily snapshot of shares to backup. I use these commands zfs snapshot shares@DDMMRRRRHHMM zfs send -i shares@....... (10 Replies)
Discussion started by: RychnD
10 Replies

6. UNIX for Advanced & Expert Users

Use of Capabilities

I wonder if anyone could assist with some problems I'm having with Linux Capabilities and their use when using the commands "nice" and "schedtool". I run a couple of PCs, one is an elderly AMD Sempron 2800+ (32-bit, 2GHz clock and 3GB memory) that is used as a family multimedia system running... (3 Replies)
Discussion started by: MikeGM
3 Replies

7. Linux

Broadcom under Fedora 18 (Spherical Cow)

So I'm having a problem getting a Broadcom BCM4312 wireless controller to work under the broadcom-wl module $uname Linux 3.8.11-200.fc18.x86_64 #1 SMP Wed May 1 19:44:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux lspci -v 05:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g... (2 Replies)
Discussion started by: Skrynesaver
2 Replies

8. UNIX for Advanced & Expert Users

Linux capabilities discussion

Hi I'm trying to compile my linux kernel with CONFIG_SECURITY_CAPABILITIES=y. any idea what this thing does ?? Also another question , If I compile the kernel that I'm currently using , what'll happen ? ~cheers (3 Replies)
Discussion started by: leghorn
3 Replies

9. What is on Your Mind?

Anybody want to talk about Dirty Cow?

Hi All, How worried is everyone about the Dirty Cow Linux exploit? Has anybody experienced attacks yet? From the research I've done it seems that the exploit is "reliable" (that is it works nearly every time on vulverable systems) which is not good news. We all believe that Unix/Linux... (3 Replies)
Discussion started by: hicksd8
3 Replies
All times are GMT -4. The time now is 06:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy