Re: rsync time machine backup permissions

2018-04-03 Thread Michael via rsync
Time Machine will enable ownership on the drive the first time it starts up.

The first thing it does when it creates the backup directory is to enable 
ownership on the drive. I've seen this happen repeatedly (it's actually the 
easiest way I know of to enable ownership on drive).

On 2018-04-03, at 4:05 AM, Dave Gordon via rsync  wrote:

> On 20/03/18 05:44, Andre Althoff via rsync wrote:
>> That doesn’t work too. :-(
>> 
>> Last login: Mon Mar 19 19:18:16 on console
>> iMac:~ andre$ mount
>> /dev/disk0s2 on / (hfs, local, journaled)
>> devfs on /dev (devfs, local, nobrowse)
>> map -hosts on /net (autofs, nosuid, automounted, nobrowse)
>> map auto_home on /home (autofs, automounted, nobrowse)
>> /dev/disk2 on /Volumes/G-DRIVE Thunderbolt 3 (hfs, local, nodev, nosuid, 
>> journaled, noowners)
> 
> Maybe the "noowners" is the problem?
> Try remounting the drive without this option?
> 
> .Dave.
> 
> 
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

---
Entertaining minecraft videos
http://YouTube.com/keybounce


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


compiling static binaries

2018-04-03 Thread Han Boetes via rsync

For anybody trying to build a static binary:


Glibc static binaries are not backwards compatible: to get really
static binaries you'd have to compile them with musl libc.

The easiest way for me was to set up a VM with alpine linux. Then I
configured and build rsync and at the end ran these commands to get a
static binary:

cp /usr/lib/libacl.a .
gcc -static -O2 -Wall -static-libgcc -W -o rsync $(find . -name '*.o') libacl.a
strip rsync

And the resulting binary works fine on an ancient (2008) machine.



# Han

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync time machine backup permissions

2018-04-03 Thread Dave Gordon via rsync
On 20/03/18 05:44, Andre Althoff via rsync wrote:
> That doesn’t work too. :-(
> 
> Last login: Mon Mar 19 19:18:16 on console
> iMac:~ andre$ mount
> /dev/disk0s2 on / (hfs, local, journaled)
> devfs on /dev (devfs, local, nobrowse)
> map -hosts on /net (autofs, nosuid, automounted, nobrowse)
> map auto_home on /home (autofs, automounted, nobrowse)
> /dev/disk2 on /Volumes/G-DRIVE Thunderbolt 3 (hfs, local, nodev, nosuid, 
> journaled, noowners)

Maybe the "noowners" is the problem?
Try remounting the drive without this option?

.Dave.


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync to my external eSATA HD is crashing/freezing my system...

2018-04-03 Thread Dave Gordon via rsync
On 25/03/18 15:32, Morgan Read via rsync wrote:
> On 19/03/18 14:01, Morgan Read wrote:
>> Hello list
>>
>> I've been running the following command, first in fc20 and then now
>> (since the beginning of March) in fc26:
>> now=$(date +"%Y%m%d-%H%M"); sudo rsync -ahuAESX -vi /home/
>> /run/media/readlegal/Backup/home >
>> /run/media/readlegal/Backup/rsync-changes_$now
>>
>> Since the move to fc26, this command has caused the complete
>> freeze/crash of the system.  I tried it under multi-user non-graphic
>> mode in case it was something to do with new graphics systems (don't
>> know why).  The output of the above always stops at:
>> sending incremental file list
>> .d..t.. Music/FLACs/Various_Artists/Temple_Sampler/
>>  >f+
>> Music/FLACs/Various_Artists/Temple_Sampler/13-brian_mcneill-the_butterfly_chain.flac
>>
>>
>> (total 183 bytes file size, always)
>>
>> By complete freeze/crash I mean:
>> * hard-drive light indicates spinning, but no noise (activity)
>> * unable to ssh in
>> * unable to ping
>> * in multi-user text, I'm first able to switch to another login
>> console, but then unable to progress past the login password; after
>> switching to other consoles, the original login screen attempt has
>> gone blank other than a blinking cursor top left
>> * in graphic mode, there's no (inter)activity whatsoever possible -
>> though screen has desktop on it
>> * the only apparent solution is a hard reset
>>
>> The external drive is a WD 750GB hard-drive in a StarTech.com external
>> hard-drive caddy connected via eSATA cable to an old Dell Vostro 3500.
>>
>> Any help or suggestions debugging this would be really appreciated.
>>
>> Many thanks
>> Morgan.

If the problem arrived with the upgrade to fc26, it could be a driver
issue. There may be some newly enabled driver feature that breaks your
hardware. For example, some external USB drives (e.g. Seagate Backup+
Hub devices) don't properly support UAS, so when that became the default
in the kernel those drives started misbehaving. Perhaps something
similar has happened to eSATA?

.Dave.


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html