Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread Greg Wooledge
On Mon, Jan 20, 2025 at 00:08:54 +, David wrote: > I would have recognised this > echo a{1..5}b > as brace expansion, but I hadn't absorbed the extra glorious > capabilities of its commas. The commas were the original form. The .. range feature was added in bash version 3.0.

Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread David
On Sun, 19 Jan 2025 at 16:24, Greg Wooledge wrote: > On Sun, Jan 19, 2025 at 12:43:51 -0300, Eduardo M KALINOWSKI wrote: > > Em 19/01/2025 08:57, David escreveu: > > > On Sun, 19 Jan 2025 at 02:51, Default User > > > wrote: > > > > time sudo rsync -aHSxvvv --human-readable --delete --numeric-id

Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread Greg Wooledge
On Sun, Jan 19, 2025 at 12:43:51 -0300, Eduardo M KALINOWSKI wrote: > Em 19/01/2025 08:57, David escreveu: > > On Sun, 19 Jan 2025 at 02:51, Default User > > wrote: > > > time sudo rsync -aHSxvvv --human-readable --delete --numeric-ids -- > > > info=progress2,stats2,name2 -- > > > exclude={"/dev/

Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread Eduardo M KALINOWSKI
Em 19/01/2025 08:57, David escreveu: On Sun, 19 Jan 2025 at 02:51, Default User wrote: time sudo rsync -aHSxvvv --human-readable --delete --numeric-ids -- info=progress2,stats2,name2 -- exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media /*","/lost+found"} /media/user/DRIVE1

Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread Charles Curley
On Sat, 18 Jan 2025 21:01:14 -0700 Charles Curley wrote: > I suggest that instead of using rsync directly you use rsnapshot. You > can set it up so that it only copies if DRIVE2 is there. The cron > entries let it happen automatically. Another advantage to rsnapshot is that you don't have to fid

Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread David
On Sun, 19 Jan 2025 at 02:51, Default User wrote: > I may just delete everything on DRIVE2 overnight, and then try rsync > with: > > time sudo rsync -aHSxvvv --human-readable --delete --numeric-ids -- > info=progress2,stats2,name2 -- > exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/

Re: rsync: source and destination drive data used sizes differ

2025-01-19 Thread Michel Verdier
On 2025-01-19, e...@gmx.us wrote: > I've never used LUKS before, so we're even. With a non-encrypted > filesystem, you would > unmount the partition > mkfs -t whatever /dev/whatever > mount it again It's the same with luks and the device used is a mapping in /dev/mapper

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread tomas
On Sat, Jan 18, 2025 at 08:27:17PM -0500, Default User wrote: > Hi! [...] > Every night, I have been using rsync to copy from DRIVE1 to DRIVE2, > doing: > > time sudo rsync -avvv --human-readable --delete --numeric-ids > --info=progress2,stats2,name2 -- > exclude={"/dev/*","/proc/*","/sys/*","/t

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread eben
On 1/18/25 22:21, Default User wrote: > Hi, Eben! > > I hate to sound stupid, but how would I do that. I have never used mkfs > before. I've never used LUKS before, so we're even. With a non-encrypted filesystem, you would unmount the partition mkfs -t whatever /dev/whatever mount it again

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread David Christensen
On 1/18/25 17:27, Default User wrote: Hi! I have two identical 4Tb usb external drives, Western Digital Model WDC WD40NDZW-11A8JS1. My computer is a Dell Inspiron 15 3000 Model 3511 (a very modest laptop), from early 2024, running Debian 12 Stable, always kept updated. Thank you for that info

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread Default User
Hi, Charles! Thanks for the reply. I will have to ponder that.

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread Charles Curley
On Sat, 18 Jan 2025 20:36:42 -0500 Default User wrote: > So, back to the original question: what in the world am I supposed to > do to have rsync copy so that the size change in the two drives is > equal, and DRIVE2 has (theoretically) the same data, taking up the > same space, as DRIVE1? I sugg

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread Default User
Hi, Eben! I hate to sound stupid, but how would I do that. I have never used mkfs before.

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread eben
On 1/18/25 21:50, Default User wrote: > Hi Andy! > > Thanks for the reply. > > I may just delete everything on DRIVE2 overnight, Might be faster to mkfs than to rm *.

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread Default User
Hi Andy! Thanks for the reply. I may just delete everything on DRIVE2 overnight, and then try rsync with: time sudo rsync -aHSxvvv --human-readable --delete --numeric-ids -- info=progress2,stats2,name2 -- exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media /*","/lost+found"}

Re: rsync: source and destination drive data used sizes differ

2025-01-18 Thread Andy Smith
Hi Default, On Sat, Jan 18, 2025 at 08:36:42PM -0500, Default User wrote: > So, back to the original question: what in the world am I supposed to > do to have rsync copy so that the size change in the two drives is > equal, and DRIVE2 has (theoretically) the same data, taking up the same > space,

rsync: source and destination drive data used sizes differ

2025-01-18 Thread Default User
Hi! I have two identical 4Tb usb external drives, Western Digital Model WDC WD40NDZW-11A8JS1. My computer is a Dell Inspiron 15 3000 Model 3511 (a very modest laptop), from early 2024, running Debian 12 Stable, always kept updated. The first drive, Drive 1, is my "backup drive". I backup daily u

rsync: source and destination drive data used sizes differ

2025-01-18 Thread Default User
Hi! I have two identical 4Tb usb external drives, Western Digital Model WDC WD40NDZW-11A8JS1. My computer is a Dell Inspiron 15 3000 Model 3511 (a very modest laptop), from early 2024, running Debian 12 Stable, always kept updated. The first drive, Drive 1, is my "backup drive". I backup daily u