![]() |
|
|
#23 | |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
6,793 Posts |
Quote:
|
|
|
|
|
|
|
#24 | |
|
Random Account
Aug 2009
Not U. + S.A.
3×953 Posts |
Quote:
Sorry for going a bit off-plumb... |
|
|
|
|
|
|
#25 | |
|
"6800 descendent"
Feb 2005
Colorado
32·83 Posts |
Quote:
For example, you can keep a backup synced up with your production system by using Linux's powerful rsync command. What I do is login as root, insert a USB thumb drive, mount it as /mnt, then at the console prompt I run: Code:
rsync -aAXv --delete --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude="swapfile" --exclude="lost+found" --exclude=".cache" --exclude="Downloads" --exclude=".VirtualBoxVMs" --exclude=".ecryptfs" / /mnt/ ![]() Also, by using dd, you can even make a bit-level image copy of your entire hard drive, partition tables, mbr, everything, all at once: https://www.opentechguides.com/how-t...isk-clone.html One can have much fun at the Linux command prompt while logged in as root.
|
|
|
|
|
|
|
#26 | |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2×17×347 Posts |
Quote:
Any half-way decent backup system will let you do this with ease. I use backuppc. I no longer have powered-up MacOS and BSD systems in-house but backuppc used to look after them too. |
|
|
|
|
|
|
#27 | ||
|
Random Account
Aug 2009
Not U. + S.A.
3·953 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#28 | |
|
"6800 descendent"
Feb 2005
Colorado
32×83 Posts |
Quote:
Just make darn sure you have your devices straight (/dev/sda, /dev/sdb, etc). Use lsblk at the command prompt to see all your drives and partitions. |
|
|
|
|
|
|
#29 | |
|
Random Account
Aug 2009
Not U. + S.A.
B2B16 Posts |
Quote:
My external HD is called sdb and is also referred to as "disk." The branch below, sdb1, is called "/media/norman/backup." Nothing in either case is called dev. sda and sda1 both show the same drive capacity. The same applies to the external, sdb and sdb1. Both source and destination are required for an image. I would say my source is sda. My destination would be /media/norman/backup. There is a folder on the external called "linux." So, I could expand the destination out to /media/norman/backup/linux. I have a USB here which is not being used. Hopefully 16GB would be enough. The long command string could be placed into a bash file once the parameters are correct, I hope... |
|
|
|
|
|
|
#30 | |
|
"6800 descendent"
Feb 2005
Colorado
74710 Posts |
Quote:
Keep in mind dd is a low-level bit-for-bit read/write program. Don't confuse it with other image creation applications which might include the ability to resize drives and/or partitions upon restore. dd works best when restoring an image to a drive that is the exact same size as the drive from which the image was taken. |
|
|
|
|
|
|
#31 |
|
Aug 2002
Termonfeckin, IE
24×173 Posts |
Thanks for the timely reminder. I have slacked off on adding the new box to my backup schedule.
|
|
|
|
|
|
#32 | ||
|
Random Account
Aug 2009
Not U. + S.A.
3×953 Posts |
Quote:
I did not have any problems making the USB. I found a step-by-step reference on the web. This is what I have come up with so far in a bash: Quote:
I got the system to boot from the USB. It took seven attempts to get the system to boot from the hard drive again. It would go so far and then stop on a black screen. On the web, I found something which said to hold down the "Shift" key when powering up. That worked. The info from the wed also said the "grub" loader would appear. It never did. This is more than enough tinkering for today. Even though I started this thread, I apologize for going away from the main subject. |
||
|
|
|
|
|
#33 | |
|
Jan 2019
Florida
35 Posts |
Quote:
![]() Now come to think of it, gnome 3 has been lagging like crazy for years. Was excited for wayland but nvm that. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| login on ubuntu | wildrabbitt | Software | 16 | 2015-12-06 00:24 |
| Ubuntu | storm5510 | Linux | 24 | 2013-11-08 20:59 |
| Ubuntu saddies | ET_ | GPU Computing | 12 | 2013-05-14 14:30 |
| Ubuntu 9.10 | henryzz | Linux | 11 | 2010-01-29 21:31 |
| mprime under Ubuntu? | Unregistered | Linux | 8 | 2007-11-23 23:03 |