Re: Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread Stefan Monnier
> For some unknown reason, network configuration (wireless networks > etc.) in NetworkManager includes the MAC address of the local NIC > too, so you may need to fix those up after transfer. This sucks, indeed. I can't understand why they do that (maybe as an option, I could see occas

Re: Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread Steve McIntyre
ottavio2006-usenet2...@yahoo.com wrote: >I have an old Thinkpad on its last legs which I cannot shutdown (long >story). Then I have a slightly better Thinkpad with similar hard >drive. Debian is split into three partitions (root. home and swap)/ > >I'll recreate a similar partitioning from a live u

Re: Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread David Wright
On Mon 14 Nov 2022 at 14:53:34 (+), Ottavio Caruso wrote: > I have an old Thinkpad on its last legs which I cannot shutdown (long > story). Then I have a slightly better Thinkpad with similar hard > drive. Debian is split into three partitions (root. home and swap)/ > > I'll recreate a similar

Re: Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread Nate Bargmann
* On 2022 14 Nov 09:16 -0600, Ottavio Caruso wrote: > I have an old Thinkpad on its last legs which I cannot shutdown (long > story). Then I have a slightly better Thinkpad with similar hard > drive. Debian is split into three partitions (root. home and swap)/ > > I'll recreate a similar partition

Re: Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread Peter Ehlert
On 11/14/22 06:53, Ottavio Caruso wrote: I have an old Thinkpad on its last legs which I cannot shutdown (long story). Then I have a slightly better Thinkpad with similar hard drive. Debian is split into three partitions (root. home and swap)/ I'll recreate a similar partitioning from a live u

Re: Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread Peter von Kaehne
> On 14 Nov 2022, at 15:15, Ottavio Caruso > wrote: > > [..] copy the data on the new drive, reinstall grub and modify > fstab. > > Will this work? Depends on what kind of “copy” you make. You will need to keep ownership, permissions and links intact. And possibly more. I would install a

Backing up whole Debian installation from laptop to laptop via ssh?

2022-11-14 Thread Ottavio Caruso
I have an old Thinkpad on its last legs which I cannot shutdown (long story). Then I have a slightly better Thinkpad with similar hard drive. Debian is split into three partitions (root. home and swap)/ I'll recreate a similar partitioning from a live usb on the newer laptop, then I'll mount the r

Re: backing up backups

2022-04-21 Thread David Wright
On Mon 18 Apr 2022 at 16:06:48 (-0400), Default User wrote: > BTW, I think I have narrowed the previous restore problem down to what I > believe is a "buggy" early UEFI implementation on my computer (circa 2014). > Irrelevant now; I have re-installed with BIOS (not UEFI) booting and MBR > (not GP

Re: backing up backups

2022-04-19 Thread David Wright
On Tue 19 Apr 2022 at 07:19:58 (+0200), DdB wrote: > So i came up with the idea to create a sort of inventory using a sparse > copy of empty files only (using mkdir, truncate + touch). The space > requirements are affordable (like 2.3M for an inventory representing > 3.5T of data). The effect bein

Re: backing up backups

2022-04-18 Thread DdB
Hello, Am 11.04.2022 um 04:58 schrieb Default User: > So . . .   what IS the correct way to make "backups of backups"? > I don't know that for sure, but at first glance, i dont understand the complexity of your setup either. Seems to by quite elaborate, which is certainly suiting your needs. And

Re: backing up backups

2022-04-18 Thread Keith Bainbridge
On 11/4/22 10:58, Default User wrote: So . . .   what IS the correct way to make "backups of backups"? Sorry to take so long to respond. I am traveling and have only short periods that I can spend on non-pressing matters. To answer your question: the method that gets you the result you wan

Re: backing up backups

2022-04-18 Thread David Christensen
On 4/18/22 13:06, Default User wrote: Finally, fun fact: Many years ago, at a local Linux user group meeting, Sun Microsystems put on a demonstration of their ZFS filesystem. To prove how robust it was, they pulled the power cord out of the wall socket on a running desktop computer. Then they pl

Re: backing up backups

2022-04-18 Thread Default User
On Thu, Apr 14, 2022 at 3:24 AM David Christensen wrote: > On 4/13/22 20:03, Default User wrote: > > On Wed, Apr 13, 2022 at 4:42 PM David Christensen wrote: > > >> As you find system administration commands that work, put them into > >> scripts: > >> > >> #!/bin/sh > >> sudo rsync -aAXHxvv --del

Re: backing up backups

2022-04-14 Thread David Christensen
On 4/13/22 20:03, Default User wrote: On Wed, Apr 13, 2022 at 4:42 PM David Christensen wrote: As you find system administration commands that work, put them into scripts: #!/bin/sh sudo rsync -aAXHxvv --delete --info=progress2,stats2,name2 /media/default/MSD1/ /media/default/MSD2/ Use a ve

Re: backing up backups

2022-04-13 Thread Default User
On Wed, Apr 13, 2022 at 4:42 PM David Christensen wrote: > On 4/13/22 09:20, Default User wrote: > > >> Hey guys, sorry for just getting back with you now. > >> Unfortunately, I am just now recovering from a self-inflicted computer > >> disaster. > >> > >> While fighting with rsync, I did either:

Re: backing up backups

2022-04-13 Thread David Christensen
On 4/13/22 09:20, Default User wrote: Hey guys, sorry for just getting back with you now. Unfortunately, I am just now recovering from a self-inflicted computer disaster. While fighting with rsync, I did either: sudo rsync -aAXHSxvv --delete --info=progress2,stats2,name2 /media/default/MSD1/ /

Re: backing up backups

2022-04-13 Thread Default User
On Wed, Apr 13, 2022 at 12:09 PM Default User wrote: > > > On Mon, Apr 11, 2022 at 12:03 PM David Christensen < > dpchr...@holgerdanske.com> wrote: > >> On 4/10/22 22:15, to...@tuxteam.de wrote: >> > On Sun, Apr 10, 2022 at 09:44:59PM -0700, David Christensen wrote: >> >> On 4/10/22 19:58, Defaul

Re: backing up backups

2022-04-11 Thread David Christensen
On 4/10/22 22:15, to...@tuxteam.de wrote: On Sun, Apr 10, 2022 at 09:44:59PM -0700, David Christensen wrote: On 4/10/22 19:58, Default User wrote: Hello! My setup: - single home x86-64 computer running Debian 11 Stable, up to date. - one 4-Tb external usb hard drive to use as a backup device,

Re: backing up backups

2022-04-10 Thread tomas
On Sun, Apr 10, 2022 at 09:44:59PM -0700, David Christensen wrote: > On 4/10/22 19:58, Default User wrote: > > Hello! > > > > My setup: > > - single home x86-64 computer running Debian 11 Stable, up to date. > > - one 4-Tb external usb hard drive to use as a backup device, labeled MSD1. > > - anot

Re: backing up backups

2022-04-10 Thread David Christensen
happy, I would call it good. If diff(1) finds differences, figure out why. I suppose I could just make images of MSD1, using dd for example. But then each time wouldn't I just be backing up not just the changed data, but all the data, AND backing up all of the free space on MSD1 also. Aside f

Re: backing up backups

2022-04-10 Thread Default User
On Sun, Apr 10, 2022 at 11:13 PM David wrote: > On Mon, 11 Apr 2022 at 12:59, Default User > wrote: > > > Then I try to use rsync to make an identical copy of backup device MSD1 > on an absolutely identical 4-Tb external usb hard drive, > > labeled MSD2, using this command: > > > > sudo rsync -a

Re: backing up backups

2022-04-10 Thread David
On Mon, 11 Apr 2022 at 12:59, Default User wrote: > Then I try to use rsync to make an identical copy of backup device MSD1 on an > absolutely identical 4-Tb external usb hard drive, > labeled MSD2, using this command: > > sudo rsync -aAXHxvv --delete --info=progress2,stats2,name2 > /media/defa

backing up backups

2022-04-10 Thread Default User
always be EXACTLY the same as MSD1? Is there a way to do this using rsync? I suppose I could just make images of MSD1, using dd for example. But then each time wouldn't I just be backing up not just the changed data, but all the data, AND backing up all of the free space on MSD1 also. As

Re: bootcd, xorrisso, debian-cd, making an iso of a current system and backing up

2021-06-12 Thread Thomas Schmitt
Hi, Semih Ozlem wrote: > Can someone familiar with bootcd, xorriso, debian-cd explain how and for > what purpose those commands are used? xorriso produces and manipulates ISO 9660 filesystems, which may be bootable from optical media and disk-like media. debian-cd is the tool by which the Debian

bootcd, xorrisso, debian-cd, making an iso of a current system and backing up

2021-06-11 Thread Semih Ozlem
Hi everyone, Can someone familiar with bootcd, xorriso, debian-cd explain how and for what purpose those commands are used? Is it possible to make an iso of one's current working system (installed or from a live version) or a backup with these commands, and what is the correct usage of the comman

Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > Very good information but the word sudo comes up everywhere. For the purpose of backing up and restoring a whole operating system with multiple users and partly restrictive permissions: yes. > If a user does not have sudo rights she/he can back-up files and r

Re: Some help with dd backing up into an iso

2017-03-13 Thread GiaThnYgeia
Very good information but the word sudo comes up everywhere. If a user does not have sudo rights she/he can back-up files and restore them as long as s/he has rights to what their backing-up/restoring. So if you are in a network public environment you may not even have rights to even your own

Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi, the restore scenario for the xorriso backup would be like this: - Prepare the storage device to which you want to restore. This may be as simple as choosing some directory in a filesystem with enough free space, or as complicated as setting up a new operating system on a freshly purcha

Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi, fresh mail from GiaThnYgeia: > So I decided to run the whole script as sudo or sudo xorriso and it > seems the problem is solved. Good to know. You are now supposed to have a copy of the files and directories of the USB stick. > Should I attempt to rebuild it to a test disk to see if it rel

Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > drwx-- 2 root root 16384 Mar 10 03:21 /media/user/sid/lost+found If you were not superuser or ran xorriso under sudo, then the ownership and permissions are a valid reason for being unable to read its content. I do not generally advise to make backups as superuser. B

Re: Some help with dd backing up into an iso

2017-03-13 Thread GiaThnYgeia
I changed the rights 0755 to this lost+ and it got stuck to an other folder and contents that had only root/owner privileges So I decided to run the whole script as sudo or sudo xorriso and it seems the problem is solved. Should I attempt to rebuild it to a test disk to see if it reliable? Thoma

Re: Some help with dd backing up into an iso

2017-03-13 Thread Greg Wooledge
On Mon, Mar 13, 2017 at 12:15:00PM +, GiaThnYgeia wrote: > What is that + at .. root-directory? Mounting point? > C;/media/user/sid$ ls -alt /media/user/sid > total 124 > drwxr-x---+ 5 root root 4096 Mar 13 13:52 .. It indicates the presence of an ACL (file access control list), as docume

Re: Some help with dd backing up into an iso

2017-03-13 Thread GiaThnYgeia
I'll have to learn how to do this trick to (read the fine code of your email that is that scraps the rest) Thomas Schmitt: > ls -ld /media/user/sid/lost+found I ommitted some of the usual stuff with drwxr-xr-x (the C; is a joke of course for user@machinename) What is that + at .. root-dire

Re: Some help with dd backing up into an iso

2017-03-13 Thread Thomas Schmitt
Hi, i quoted man bzip2: > > As with compression, supplying no filenames causes decompression from > > standard input to standard output." GiaThnYgeia wrote: > ...aka screen dump? If the standard output of bzip2 is not connected to the standard input of another process or redirected to a file

Re: Some help with dd backing up into an iso

2017-03-12 Thread David Wright
On Sun 12 Mar 2017 at 23:50:00 (+), GiaThnYgeia wrote: > Thomas Schmitt: > > This is not an answer to my question. > > Is the reported address a single line > > > > /media/user/DebonUSB/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 > > or is it reported as two lines: > >

Re: Some help with dd backing up into an iso

2017-03-12 Thread GiaThnYgeia
Thomas Schmitt: > Hi, > i wrote: >>> bunzip2 > GiaThnYgeia wrote: >> bunzip2 imagefile | dd of=/dev/sdb > > The small but decisive difference is the "<" in my example. My fault, I thought it was brackets to remind me to enter my own filename and the second one was missing ;) > My example gives

Re: Some help with dd backing up into an iso

2017-03-12 Thread Thomas Schmitt
Hi, i wrote: > > bunzip2 bunzip2 imagefile | dd of=/dev/sdb The small but decisive difference is the "<" in my example. My example gives bunzip2 no file path, so that it begins to read from standard input and writes to standard output. bunzip2's standard input is redirected from file "imagefile

Re: Some help with dd backing up into an iso

2017-03-12 Thread GiaThnYgeia
I am getting a little frustrated as neither dd or xorriso work for me as I wanted. With the dd and bzip2 combination I got an image really fast (compared to dd if=.. of=.. ) but when I tried to restore it dd bs=1M if=/dev/sdb | bzip2 >imagefile bunzip2 imagefile | dd of=/dev/sdb it unzipped the i

Re: Some help with dd backing up into an iso

2017-03-12 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > $ xorriso -indev sid1.iso -find / -exec lsdl -- > ... > drwxr-xr-x1 00 0 Nov 24 11:14 '/' This explains why the ISO is so small. No files in it. (The size consists mainly of the traditional 300 KB of padding at the end of the image.) > On medi

Re: Some help with dd backing up into an iso

2017-03-11 Thread GiaThnYgeia
I am nearly giving up, can't understand what I am doing wrong or what I should be doing. Thomas Schmitt: > Hi, > > GiaThnYgeia wrote: >> Is something wrong? >> -rw-r--r-- 1 user 458752 Mar 9 00:08 usb_part1.iso > > That's much too small for any backup with substance. > What do you get fr

Re: Some help with dd backing up into an iso

2017-03-09 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > Is something wrong? > -rw-r--r-- 1 user 458752 Mar 9 00:08 usb_part1.iso That's much too small for any backup with substance. What do you get from xorriso -indev usb_part1.iso -find / -exec lsdl -- Is the USB stick content visible underneath /mnt/usb-Kingsto

Re: Some help with dd backing up into an iso

2017-03-09 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > $ ls -l > /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 > total 0 Oops. I should have proposed ls -ld so that we see the directory's info rather than the one of its content. Please retry. (The USB stick seems not to have been mounted at that m

Re: Some help with dd backing up into an iso | now xorriso help

2017-03-09 Thread GiaThnYgeia
Thomas Schmitt: > Hi, > > i forgot to adapt my xorriso example from a few days ago: > > xorriso \ > -for_backup \ > -outdev usb_part1.iso \ > -map /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 / Ok, my drive has grown from 1,7gB to about 2GB since the last try wit

Re: Some help with dd backing up into an iso

2017-03-09 Thread David Wright
I haven't seen the questions… On Thu 09 Mar 2017 at 17:37:23 (+0100), Thomas Schmitt wrote: > GiaThnYgeia wrote: > > /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 > > Although it is ugly, i guess it is reproducible whenever you plug in > that stick and other sticks get oth

Re: Some help with dd backing up into an iso

2017-03-09 Thread Thomas Schmitt
Hi, i forgot to adapt my xorriso example from a few days ago: xorriso \ -for_backup \ -outdev usb_part1.iso \ -map /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 / Note that the last "/" is not a misspelled "\" but the path to the upcomming ISO's root directory. Th

Re: Some help with dd backing up into an iso

2017-03-09 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > /mnt/usb-Kingston_DataTraveler_3.0_08606E69C773BFC06965007B-0:0-part1 Although it is ugly, i guess it is reproducible whenever you plug in that stick and other sticks get other reproducible addresses. (Better test whether the address is indeed the same each time.) > How

Re: Some help with dd backing up into an iso

2017-03-08 Thread David Wright
On Wed 08 Mar 2017 at 16:29:00 (+), GiaThnYgeia wrote: > Hello, this is OP speaking :) > My use is about 96% backing up the image and only when things fall apart > will there be a restoring attempt. But what good would saving multiple > successive images be if none can be e

Re: Some help with dd backing up into an iso

2017-03-08 Thread GiaThnYgeia
a cheetah laying in the sun all day. >> I can't see >> the sense of backing up a filesystem to an image file and then, for >> the sake of it, using the image file to overwrite the original filesystem. > > If all went well, then nothing changed on the filesystem. Why ove

Re: Some help with dd backing up into an iso

2017-03-08 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > So each manufacturer may have a different internal system but the output > is standardized. So we don't really know what goes on in there, right? Yes. We programmers enjoy the simplified model of an array of consecutive logical blocks. The physical blocks are a matter of

Re: Some help with dd backing up into an iso

2017-03-07 Thread David Christensen
o hex dumps. ... guitarist that only cares about backing up his composition, recordings, midi files into a stick and transport it to the studio. If the studio only uses some commercial expensive apple stuff it helps having a file-system with you to edit the files while on the run. Having worki

Re: Some help with dd backing up into an iso

2017-03-07 Thread David Christensen
On 03/07/2017 12:26 AM, Teemu Likonen wrote: David Christensen [2017-03-06 21:05:31-08] wrote: # dd if=/dev/sda | gzip > myimage.img What's the point of using dd? gzip myimage.img Habit -- I use 16 GB SSD or USB flash drives for my system drives, with 10% under-provisioning. 'dd'

Re: Some help with dd backing up into an iso

2017-03-07 Thread GiaThnYgeia
code into a paper tape with 5 columns of holes. Like a 70s Telex machine In the mid-90s I took a turn to work OUT with hands and tools and no digits. Now I am back at easy comfortable air/conditioned life, red-hat is still around, and multi-processing things and satas and all kinds of craz

Re: Some help with dd backing up into an iso

2017-03-07 Thread Thomas Schmitt
Hi, David Wright wrote: > Forgive me for asking, but have you read the OP? Yep. It's a daredevil situation. "Damn the torpedos, full speed ahead" > I can't see > the sense of backing up a filesystem to an image file and then, for > the sake of it, using the imag

Re: Some help with dd backing up into an iso

2017-03-07 Thread David Wright
tion whether the stick contained a bunch of jessie .deb files or a copy of their doctoral thesis. Either way, I can't see the sense of backing up a filesystem to an image file and then, for the sake of it, using the image file to overwrite the original filesystem. And, assuming the process was lef

Re: Some help with dd backing up into an iso

2017-03-07 Thread Thomas Schmitt
Hi, i wrote: > > It has its use cases. E.g. before you put a Debian installation ISO > > onto an USB stick, it can be used to backup the old stick content David Wright wrote: > Why would you now copy the old stick content onto the stick again? When you no longer need the installation ISO because

Re: Some help with dd backing up into an iso

2017-03-07 Thread Thomas Schmitt
rting with "Swap:" and giving three numbers ?) > maybe due to systemd it is no longer being used? Systemd is a convenient suspect for everything. But i doubt that it can make swap space obsolete when the RAM does not suffice. > 1M used to be big! Yeah ... Love, 36 bit, and punched c

Re: Some help with dd backing up into an iso

2017-03-07 Thread David Wright
On Tue 07 Mar 2017 at 18:05:48 (+0100), Thomas Schmitt wrote: > David Wright wrote: > > no one has pointed out the recklessness of the > > action in the first place. > > Making a backup and then immediately copying it back over the top of > > the original is an obvious recipe for data-loss. > > It

Re: Some help with dd backing up into an iso

2017-03-07 Thread GiaThnYgeia
nks by dd option > bs=1M > might speed up copying substantially. 1M used to be big! I remember the excitement over the huge and mostly unusable Double Density 1,4MB disks that replaced the paper 512KB double sided monsters. I wonder if kids would laugh at the sight of one. I am willing to

Re: Some help with dd backing up into an iso

2017-03-07 Thread Thomas Schmitt
Hi, tomás wrote: > But yes dd is a dinosaur from olden times where block sizes were a > thing It is also about EBCDIC and byte sex. Last century's topics. Love, 36 bit, and punched cards. David Wright wrote: > no one has pointed out the recklessness of the > action in the first place. > Making

Re: Some help with dd backing up into an iso

2017-03-07 Thread David Wright
On Tue 07 Mar 2017 at 10:55:01 (+0200), Teemu Likonen wrote: > to...@tuxteam.de [2017-03-07 09:35:06+01] wrote: > > > dd comes in handy whin you know how much to copy. So this idiom makes > > sense > > > > dd if=/dev/zero of=lotsofnull bs=1024 count=1024 # copy 1M of zeros > > That particular t

Re: Some help with dd backing up into an iso

2017-03-07 Thread David Wright
On Tue 07 Mar 2017 at 00:11:00 (+), GiaThnYgeia wrote: > I am not very confident I am doing this right and it seems wrong, I > can't locate any documentation that results into proper options. > I tried backing up an 8gb USB that has 2 partitions in it, one had 1.7gb > of dat

Re: Some help with dd backing up into an iso

2017-03-07 Thread Elimar Riesebieter
* GiaThnYgeia [2017-03-07 00:11 +]: > I am not very confident I am doing this right and it seems wrong, I > can't locate any documentation that results into proper options. > I tried backing up an 8gb USB that has 2 partitions in it, one had 1.7gb > of data on it. > I us

Re: Some help with dd backing up into an iso

2017-03-07 Thread Eduardo M KALINOWSKI
On Seg, 06 Mar 2017, GiaThnYgeia wrote: Is there someway one can avoid creating such a large iso for no reason, when the filesize is a fraction of the whole disk. One way I thought of was to shrink the partitions to just about 99% full, and leave the blank part of the disk as not allocated. Wou

Re: Some help with dd backing up into an iso

2017-03-07 Thread Mark Fletcher
On Tue, Mar 07, 2017 at 12:11:00AM +, GiaThnYgeia wrote: > I am not very confident I am doing this right and it seems wrong, I > can't locate any documentation that results into proper options. > I tried backing up an 8gb USB that has 2 partitions in it, one had 1.7gb > o

Re: Some help with dd backing up into an iso

2017-03-07 Thread Jonathan Dowland
On Tue, Mar 07, 2017 at 10:26:25AM +0200, Teemu Likonen wrote: > What's the point of using dd? > > gzip myimage.img > > I don't know about you but many people seem to think that dd is some > kind of special tool for reading and writing block device files. But > after all the devices are just

Re: Some help with dd backing up into an iso

2017-03-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Mar 07, 2017 at 10:55:01AM +0200, Teemu Likonen wrote: > to...@tuxteam.de [2017-03-07 09:35:06+01] wrote: > > > dd comes in handy whin you know how much to copy. So this idiom makes > > sense > > > > dd if=/dev/zero of=lotsofnull bs=1024 cou

Re: Some help with dd backing up into an iso

2017-03-07 Thread Teemu Likonen
to...@tuxteam.de [2017-03-07 09:35:06+01] wrote: > dd comes in handy whin you know how much to copy. So this idiom makes > sense > > dd if=/dev/zero of=lotsofnull bs=1024 count=1024 # copy 1M of zeros That particular thing can be made faster without transferring any data: $ dd obs=1M count

Re: Some help with dd backing up into an iso

2017-03-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Mar 07, 2017 at 10:26:25AM +0200, Teemu Likonen wrote: > David Christensen [2017-03-06 21:05:31-08] wrote: > > > # dd if=/dev/sda | gzip > myimage.img > > What's the point of using dd? > > gzip myimage.img > > I don't know about you

Re: Some help with dd backing up into an iso

2017-03-07 Thread Teemu Likonen
David Christensen [2017-03-06 21:05:31-08] wrote: > # dd if=/dev/sda | gzip > myimage.img What's the point of using dd? gzip myimage.img I don't know about you but many people seem to think that dd is some kind of special tool for reading and writing block device files. But after all th

Re: Some help with dd backing up into an iso

2017-03-06 Thread Thomas Schmitt
Hi, GiaThnYgeia wrote: > > I used dd if=/dev/sdb of=usbfilename.iso > > The resulting image was the full size of the disk. That's the job of dd: Copying block by block. As David stated, the file usbfilename.iso will not be an ISO 9660 filesystem but rather a disk image. David Christensen wrot

Re: Some help with dd backing up into an iso

2017-03-06 Thread David Christensen
On 03/06/2017 09:05 PM, David Christensen wrote: If you have an SSD, fstrim(8) will discard all unused blocks, regardless of file system. They should then read as zeros: https://manpages.debian.org/jessie/util-linux/fstrim.8.en.html I should qualify that: If you have an SSD, fstrim(8) wi

Re: Some help with dd backing up into an iso

2017-03-06 Thread David Christensen
On 03/06/2017 04:11 PM, GiaThnYgeia wrote: I am not very confident I am doing this right and it seems wrong, I can't locate any documentation that results into proper options. I tried backing up an 8gb USB that has 2 partitions in it, one had 1.7gb of data on it. I used dd if=/dev/s

Re: Some help with dd backing up into an iso

2017-03-06 Thread Michael Lange
Hi, On Tue, 07 Mar 2017 00:11:00 + GiaThnYgeia wrote: > I am not very confident I am doing this right and it seems wrong, I > can't locate any documentation that results into proper options. > I tried backing up an 8gb USB that has 2 partitions in it, one had 1.7gb > o

Some help with dd backing up into an iso

2017-03-06 Thread GiaThnYgeia
I am not very confident I am doing this right and it seems wrong, I can't locate any documentation that results into proper options. I tried backing up an 8gb USB that has 2 partitions in it, one had 1.7gb of data on it. I used dd if=/dev/sdb of=usbfilename.iso The resulting image was the

Backing up to encrypted Blu-rays

2014-07-14 Thread Steve Litt
Hi all, I just wrote the following documentation on backing up to encrypted Blu-rays: http://troubleshooters.com/lpm/201408/201408.htm When your backup discs are encrypted, offsite backups are much safer. Everything in the documentation applies equally to dvd backups. Hope you enjoy it

Backing up via rsync (was Re: How to get rid of an entry in grub?)

2013-08-31 Thread David Guntner
sync to the drive). Since I was >> backing up *everything*, I suppose there's a possibility that it saw >> /backup/boot/[...] and acted on it, thought that seems an odd behavior >> to me. I'm running the rsync again right now; when it completes I'll >> run upda

etckeeper (was: Re: Backing up system customization: …)

2013-08-04 Thread Martin Steigerwald
Am Freitag, 1. Februar 2013, 17:00:59 schrieb Brad Alexander: > etckeeper - A package that places a git repo under /etc, and captures > changes to /etc config files, mainly by puppet and apt, which both > have "hooks" files to implement changes. The truly paranoid could > combine/clone all of the g

[REPORT BACK] Backing up system customization: Is Debian packaging better than Remastersys?

2013-08-02 Thread Linux-Fan
syncing (or something more advanced of that sort) or even imaging which has the advantage of being easily and safely restored without any additional thoughts on a complex packaging system. For those whith less customization, just backing up /etc and /home might be enough. For those interested in learnin

Re: Backing up on obnam.

2013-06-24 Thread Celejar
On Tue, 25 Jun 2013 05:13:13 +0100 Sharon Kimble wrote: > On 25 June 2013 02:57, Celejar wrote: > > > On Mon, 24 Jun 2013 19:51:23 +0100 > > Sharon Kimble wrote: > > > > > I am using obnam 1.4 on wheezy with no problems, but, I am unable to back > > > up both /etc and /var both at the same tim

Re: Backing up on obnam.

2013-06-24 Thread Sharon Kimble
On 25 June 2013 02:57, Celejar wrote: > On Mon, 24 Jun 2013 19:51:23 +0100 > Sharon Kimble wrote: > > > I am using obnam 1.4 on wheezy with no problems, but, I am unable to back > > up both /etc and /var both at the same time. I've tried 'root = /etc, > /var' > > and /etc is backed up but not /v

Re: Backing up on obnam.

2013-06-24 Thread Celejar
On Mon, 24 Jun 2013 19:51:23 +0100 Sharon Kimble wrote: > I am using obnam 1.4 on wheezy with no problems, but, I am unable to back > up both /etc and /var both at the same time. I've tried 'root = /etc, /var' > and /etc is backed up but not /var. > > How then can I back up /var at the same time

Backing up on obnam.

2013-06-24 Thread Sharon Kimble
I am using obnam 1.4 on wheezy with no problems, but, I am unable to back up both /etc and /var both at the same time. I've tried 'root = /etc, /var' and /etc is backed up but not /var. How then can I back up /var at the same time please? Thanks Sharon. -- A taste of linux = http://www.sharons.o

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-02-01 Thread Brad Alexander
On Fri, Feb 1, 2013 at 4:35 PM, Linux-Fan wrote: > On 01/30/2013 11:29 AM, Andrei POPESCU wrote: >> On Ma, 29 ian 13, 11:20:42, Linux-Fan wrote: >>> On 01/28/2013 11:02 PM, Andrei POPESCU wrote: On Du, 27 ian 13, 19:12:40, Martin Steigerwald wrote: > > Well, for only 4 systems puppet

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-02-01 Thread Linux-Fan
On 01/30/2013 11:29 AM, Andrei POPESCU wrote: > On Ma, 29 ian 13, 11:20:42, Linux-Fan wrote: >> On 01/28/2013 11:02 PM, Andrei POPESCU wrote: >>> On Du, 27 ian 13, 19:12:40, Martin Steigerwald wrote: Well, for only 4 systems puppet might be a bit off. I´d suggest starting with

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-30 Thread Andrei POPESCU
On Ma, 29 ian 13, 11:20:42, Linux-Fan wrote: > On 01/28/2013 11:02 PM, Andrei POPESCU wrote: > > On Du, 27 ian 13, 19:12:40, Martin Steigerwald wrote: > >> > >> Well, for only 4 systems puppet might be a bit off. I´d suggest starting > >> with > >> puppet not before at least 10 systems. > > > >

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-29 Thread John Hasler
Linux-Fan writes: > This is also what I expect from Debian packaging: Work once, enjoy > later. I find that the majority Debian packages work out-of-the-box with no "work" whatever. Most of the rest require only trivial configuration, usually handled by debconf. Some packages (such as Puppet) in

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-29 Thread Linux-Fan
On 01/28/2013 11:02 PM, Andrei POPESCU wrote: > On Du, 27 ian 13, 19:12:40, Martin Steigerwald wrote: >> >> Well, for only 4 systems puppet might be a bit off. I´d suggest starting >> with >> puppet not before at least 10 systems. > > The initial setup is definitely not trivial, but afterwards y

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-28 Thread Andrei POPESCU
On Du, 27 ian 13, 19:12:40, Martin Steigerwald wrote: > > Well, for only 4 systems puppet might be a bit off. I´d suggest starting with > puppet not before at least 10 systems. The initial setup is definitely not trivial, but afterwards you sit back and relax ;) Kind regards, Andrei -- Offtop

Typo in {Re: Backing up system customization: Is Debian packaging better than Remastersys?}

2013-01-27 Thread Richard Owlett
Martin Steigerwald wrote: [SNIP] This only works if the only customization is in /etc and ~. But unfortunately I sometimes need to use software which is not available in the Debian repositories and therefore also had some binary applications which needed to be transferred. Okay, for this, if

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Martin Steigerwald
Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: > On 01/27/2013 07:42 PM, Martin Steigerwald wrote: > > Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: > >> Dear Debian users, > >> > >> I have configured my system to my specific needs by installing > >> packages, changing their configuration, adding

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Linux-Fan
On 01/27/2013 07:42 PM, Martin Steigerwald wrote: > Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: >> Dear Debian users, >> >> I have configured my system to my specific needs by installing packages, >> changing their configuration, adding a useful HTML-Documentation >> collection and installing so

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Linux-Fan
On 01/27/2013 07:12 PM, Martin Steigerwald wrote: > Hmmm, okay. > > Since that rsync is so fast and will become faster when I replace it with > btrfs send/receive, I did not care. I have also noticed that rsync is quite fast but its (in my case) just the amount of storage required which I do not

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Martin Steigerwald
Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: > Dear Debian users, > > I have configured my system to my specific needs by installing packages, > changing their configuration, adding a useful HTML-Documentation > collection and installing some programs from source. The resulting > system is used

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Martin Steigerwald
Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: > On 01/27/2013 05:44 PM, Martin Steigerwald wrote: > > Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: > >> But I am still not fully satisfied with this solution because making a > >> live-DVD out of the currently-running system has some issues: > >>

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Linux-Fan
On 01/27/2013 05:44 PM, Martin Steigerwald wrote: > Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: >> But I am still not fully satisfied with this solution because making a >> live-DVD out of the currently-running system has some issues: >> >> 1. If I ever need to re-install my system and do not ha

Re: Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Martin Steigerwald
Am Sonntag, 27. Januar 2013 schrieb Linux-Fan: > But I am still not fully satisfied with this solution because making a > live-DVD out of the currently-running system has some issues: > > 1. If I ever need to re-install my system and do not have the >remastersys-DVD available, I will have trou

Backing up system customization: Is Debian packaging better than Remastersys?

2013-01-27 Thread Linux-Fan
Dear Debian users, I have configured my system to my specific needs by installing packages, changing their configuration, adding a useful HTML-Documentation collection and installing some programs from source. The resulting system is used on four different machines with two different architectures

Re: backing up

2012-05-28 Thread Chris Davies
Frank McCormick wrote: > What I ended up doing was to add the -p parameter to cp to ensure > attributes were maintained. Also added -u to only update changed files Based on the previous postings in the thread this will run whenever anyone logs out, not just you. As long as you're aware of risk

Re: backing up

2012-05-28 Thread Frank McCormick
On 28/05/12 04:31 AM, Chris Davies wrote: Frank McCormick wrote: Just for fun I created a new user (my wife)..and ran a session under "her" account...she could not write to my directory so nothing happened. This whole thread has convinced me I need to learn more about bash and scripting :)

Re: backing up

2012-05-28 Thread Chris Davies
Frank McCormick wrote: >Just for fun I created a new user (my wife)..and ran a session under > "her" account...she could not write to my directory so nothing happened. > This whole thread has convinced me I need to learn more about bash and > scripting :) It's not difficult [*] to check wh

  1   2   3   4   5   >