I needed to do some more research into rsync, I hadn't used it lately, but understand it a bit better now.
If you want to synchronize the contents of the two drives, I'd stick to just updating the /home/ partition, that seems to be where all the changing data is kept:
Plug in the USB drive, and run fdisk -l to see what it shows up as. Your internal disk showed up as sda, so I suspect the external will show up as sdb, but best not to assume.
Mount the external drive's home directory onto /mnt/external. To do this, mkdir -p /mnt/external ; mount /dev/sdb6 /mnt/external.
Use rsync to copy new files to the drive. rsync --dry-run -r -a -H /home/ /mnt/external
Optionally, if you want, use rsync to delete files from /mnt/external that no longer exist in /home/ rsync --dry-run -r --delete -a -H /home/ /mnt/external
umount /mnt/external && sync wait for it to finish and then it will be safe for you to remove the USB drive, if you want to.
Note how I'm doing
Having the exact right number of slashes is crucial.
Also, for the record, the various flags I'm giving it have these meanings:
Last edited by Corona688; 05-17-2011 at 01:14 PM..
Is there a command used to determine whether or not a machine has been RAIDed besides using 'df -k'. I am interested b/c I am writing a script where I would like to receive some sort of notification as to whether or not a machine has been RAIDed. The simpler the info returned back, the better. ... (2 Replies)
Hello there guys ,
I have this problem , i have this hp smart array 641 raid card and i'm trying to install sco unix 5.0.7 and is says no root disk found right before the instalation is about to start.
I know that you have to load the driver befor the install bud i really cannot find the... (0 Replies)
I was wanting to know if anyone knew how to setup RAID 0 on an old HP Unix server. It's for where I work and my boss has two hard drives and wants the second to take over if the first one fails hence RAID 0. If anyone could help me it would be greatly appreciated. (5 Replies)
Hello,
I wanted to setup user friendly ksh command prompt, by typing first character of files or directories and then tab bring up whole word. No need to type whole file/directory/command names.
Example:
cat a file like university
just typing un and then tab bring up whole university wod.... (3 Replies)
Hi guys,
I've been trying to do this for hours, and I've just been running around in circles trying to get this script made. I have a set of files outputted by an MSVC compiler that looks like this
1> helloworld.cpp
1> Note: including file: c:\dev\test\makefile\source\helloworld.h
1> ... (7 Replies)
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Hello,
I want to delete a RAID configuration an old server has.
Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton?
I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
I need to be able to make a backup image of an OLD UNIX server HD where I can restore the complete HD from scratch if (when) the HD fails. This server runs the accounting system for a company.
I can and have backed the data up via local FTP, but O/S and Apps are so old that I am not sure I could... (21 Replies)
Hello,
I have noticed some problems with Google complaining our site is not "https://search.google.com/www.usearch-console/mobile-friendly" using only Tapatalk.
So, after a lot of work, I have re-enabled our legacy mobile style and make some improvements and Google has declared us "mobile... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
backup_deldump
BACKUP_DELDUMP(8) AFS Command Reference BACKUP_DELDUMP(8)NAME
backup_deldump - Deletes a dump level from the Backup Database
SYNOPSIS
backup deldump -dump <dump level name> [-localauth]
[-cell <cell name>] [-help]
backup deld -d <dump level name> [-l]
[-c <cell name>] [-h]
DESCRIPTION
The backup deldump command deletes the indicated dump level and all of its child dump levels from the dump hierarchy in the Backup
Database. Use the backup listdumps command to display the dump hierarchy.
OPTIONS -dump <dump level name>
Specifies the complete pathname of the dump level to delete.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
details, see backup(8).
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command deletes the dump level "/sunday1/monday1" from the dump hierarchy, along with any of its child dump levels.
% backup deldump /sunday1/monday1
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
onto a server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO backup(8), backup_adddump(8), backup_listdumps(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_DELDUMP(8)