On Sat, 15 Apr 2023, MC_Sequoia wrote:
So, you're using a disk imaging tool to create incremental backups and the
using a remote file synchronization tool to do another incremental backup.
The original RAID1 logical volume broke; wiped out both disks. Now I do the
backups to bkup1 and will
Dirvish is just a wrapper on rsync.
On Sat, Apr 15, 2023, 12:47 MC_Sequoia wrote:
> "Dirvish makes snapshot copies of changed files. So the cron job that runs
> at 00:30 each night copies changes in files in the 8 vaults (directories
> or partitions). What I want to follow that daily update is
"Dirvish makes snapshot copies of changed files. So the cron job that runs at
00:30 each night copies changes in files in the 8 vaults (directories or
partitions). What I want to follow that daily update is to copy only the
changed files from bkup1 to bkup2."
So, you're using a disk imaging
On Sat, 15 Apr 2023, Michael Ewan wrote:
Doing rsync in cron you might add the
--log-file=filename
option
Thank you, Michael. I will.
Rich
Doing rsync in cron you might add the
--log-file=filename
option
On Sat, Apr 15, 2023, 9:58 AM Vince Winter
wrote:
> If you have a trailing / on src, it will only copy contents. If you leave /
> off on src, it copy the directory.
>
> -a is archive mode. Which is likely fine unless you need
On Sat, 15 Apr 2023, MC_Sequoia wrote:
If you're simply trying to create a copy of a directory, why not just use
the command "cp -R "
Rsync isn't the right tool IMHO to simply copy a daily a file from one
place to another.
"Remote Syncronization" only updates the files or dirs tha have
"I want to write a cron job for root to copy the daily backup from
/media/bkup1/ to /media/bkup2/. Is this rsync command sufficient?
rsync -avz /media/bkup1 /media/bkup2"
I've to ask the seemingly obvious question here. What exactly are you trying to
accomplish here?
If you're simply trying
If you have a trailing / on src, it will only copy contents. If you leave /
off on src, it copy the directory.
-a is archive mode. Which is likely fine unless you need more.
This should be fine for a basic rsync cronjob.
rsync -a
You can get much more complex with rsync if you want but
On Sat, 15 Apr 2023, Randy Bush wrote:
i am also too subtle. you might use the man page and check out those
parameter choices.
randy,
I saw in the man page that
--archive, -a archive mode is -rlptgoD (no -A,-X,-U,-N,-H)
which looked like your first example.
Regards,
Rich
On Sat, 15 Apr 2023, Russell Senior wrote:
You probably want the -H option too, to preserve hardlinks.
Russell,
Okay. I wondered about that and about -r for recursive, but I think that the
-a archive option does recursion.
Also, my lizard brain is telling me you want trailing slashes too.
>> truth is, being a lazy typist and prone to memory errors, i use these
>>alias rsy='/usr/bin/rsync -vlpPStgoHx'
>>alias rsyr='/usr/bin/rsync -vPaHxRS'
> Thank you. I'm not a lazy typist and the command will be in a two-line
> shell script.
i am also too subtle. you might use the
On Sat, 15 Apr 2023, Randy Bush wrote:
truth is, being a lazy typist and prone to memory errors, i use these
alias rsy='/usr/bin/rsync -vlpPStgoHx'
alias rsyr='/usr/bin/rsync -vPaHxRS'
randy,
Thank you. I'm not a lazy typist and the command will be in a two-line shell
script.
On Sat, 15 Apr 2023, Michael Ewan wrote:
Yes. However, compression (z) is not necessary when on the same machine.
Compression is only effective on a slow network connection.
Michael,
Thank you. I wasn't aware of the use of compression.
Regards,
Rich
You probably want the -H option too, to preserve hardlinks. Also, my
lizard brain is telling me you want trailing slashes too. I'll take
Michael's suggestion about -z as given without further research and suggest:
rsync -v -a -H /media/bkup1/ /media/bkup2/
I also suggest reading "man rsync"
truth is, being a lazy typist and prone to memory errors, i use these
alias rsy='/usr/bin/rsync -vlpPStgoHx'
alias rsyr='/usr/bin/rsync -vPaHxRS'
randy
Yes. However, compression (z) is not necessary when on the same machine.
Compression is only effective on a slow network connection.
On Sat, Apr 15, 2023 at 8:17 AM Rich Shepard
wrote:
> I want to write a cron job for root to copy the daily backup from
> /media/bkup1/ to /media/bkup2/. Is this
I want to write a cron job for root to copy the daily backup from
/media/bkup1/ to /media/bkup2/. Is this rsync command sufficient?
rsync -avz /media/bkup1 /media/bkup2
TIA,
Rich
On Sat, 15 Apr 2023, Rich Shepard wrote:
How do I get /media/bkup1 up and running again?
By rebooting the desktop. Whew!
I now return you to your normal Saturday.
Rich
While moving hardware (a monitor) yesterday I inadvertently shut down power
to the MediaSonic Probox. When I restored power and turned it on 'mount'
showed the four drives were mounted.
This morning there were no backups reported. 'mount' shows:
/dev/sde1 on /media/bkup1 type xfs (rw)
but, df
19 matches
Mail list logo