On Wed, Oct 01, 2003 at 08:58:28PM -1000, Hawaii Linux Institute wrote:
> %!/bin/sh
> BACKUP_DATE=`date +%y%m%d`
> find /home/x -mtime -7 -type f -print > backup.weekly
> tar -cvz -T backup.weekly -f backup.weekly.$BACKUP_DATE.tgz
>
> Comment: you can put an ampersand at the end of each line (
If you're as paranoid as I am about not being able to timely back up any
important files, you can use the following template as a starting point
to write your own incremental-backup script:
%!/bin/sh
BACKUP_DATE=`date +%y%m%d`
find /home/x -mtime -7 -type f -print > backup.weekly
tar -cvz -
one of the most useful features of a thumb drive (or a USB hard disk) is
to do incremental backups. I used to rely on a DOS program called
xtree/ztree to do incremental backups in Windows, but in Linux, the task
is substantially easier.
I am tossing in my way of doing incremental backups, if
As another side point (as everyone can see, I am quite excited about the
use of USB storage in Linux), I typically don't mask the entire /home
directory, rather, only my user directory, i.e., /home/x.
Of course, before you do that, the root of the host machine must create
the same user for
Vince Hoang wrote:
On Mon, Sep 29, 2003 at 04:30:56PM -1000, Hawaii Linux Institute wrote:
If your /home directory is not installed in a separate
partition, but as part of the root partition, then this becomes
a two-step process:
mount -t ext3 /dev/sda2 /mnt
mount --bind /mnt/home /home
On Mon, Sep 29, 2003 at 04:30:56PM -1000, Hawaii Linux Institute wrote:
> If your /home directory is not installed in a separate
> partition, but as part of the root partition, then this becomes
> a two-step process:
>
> mount -t ext3 /dev/sda2 /mnt
>
> mount --bind /mnt/home /home
It can still b
Another trick that can make your life much easier after USB 2 became
available--which indeed makes Linux potentially a much much more
powerful desktop platform than Microsoft Windows, is that you can
"temporarily" replace the home directory on the host machine with your
own home directory.
I
Oops, should have been:
mount -t vfat /dev/sda /mnt/usb
[EMAIL PROTECTED] wrote:
Add a slash and remove the period:
mount -t vfat /dev/sda /mnt/usb
Your script is broken (missing the mount command) and doesn't umount when
the stick is removed (like, say, hotplug would).
;-)
I have posted a correction, but for some reason, it does not come ou
ECTED]
cc:
Subject:Re: [luau] thumb drive
Alvin Murphy wrote:
(quoting the following comment:)
>> So the following command will mount it to the above location: mount
>> -t vfat /dev/sda mnt/usb.
>
For the sake of fool-proof-ness, the above command is, of course,
Alvin Murphy wrote:
(quoting the following comment:)
So the following command will mount it to the above location: mount
-t vfat /dev/sda mnt/usb.
For the sake of fool-proof-ness, the above command is, of course, not
always correct (unless you happen to be in the root directory). The
To: [EMAIL PROTECTED]
cc:
Subject: [luau] thumb drive
Most of you probably know how to do this, but it took me a while to
figure out how to use my usb thumb drive; so just in case there are
others out there of equivalent newbieness, here goes:
> Just in case somebody else asks, here
Most of you probably know how to do this, but it took me a while to
figure out how to use my usb thumb drive; so just in case there are
others out there of equivalent newbieness, here goes:
Just in case somebody else asks, here is how to set up your drive for
linux: first make a place to conne
13 matches
Mail list logo