home.social

#rsync — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rsync, aggregated by home.social.

  1. Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.

    Ich habe ein #Script das nicht funktioniert und doch funktioniert *grrrr*

    (Script Begin)
    #!/bin/bash

    set -ex

    # check for mount
    grep /backup /etc/mtab > /dev/null || exit 1

    # directory to backup
    BDIR=/home/wilma_wein/

    # Destination dir for rsync
    DDIR=/media/backup

    # excludes file - this contains a wildcard pattern per line of files to exclude
    EXCLUDES=/root/rsy.excl

    # BACKUPDIR=${1:-`date +%A`}
    BACKUPDIR=${1:-"day"`date +%d`}

    OPTS="--force
    --ignore-errors \
    --delete-excluded \
    --exclude-from=$EXCLUDES
    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"

    export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

    # if destination does not exist, make it;-)
    [ -d $DDIR ] || mkdir $DDIR

    # write logfile
    echo oooooooooooooooooooooooooooooooooooooooooooo >> /root/rsy.log
    date >> /root/rsy.log

    # delete existing backup dir
    [ -d $DDIR/$BACKUPDIR ] && (echo remaking $DDIR/$BACKUPDIR >> /root/rsy.log; rm -r $DDIR/$BACKUPDIR)

    # now the actual transfer
    rsync $OPTS $BDIR $DDIR/current >> /root/rsy.log

    (Script Ende)
    .
    .
    Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.

    Folgende Laufwerke sind in meiner #fstab gemountet:

    # Angeschlossenes USB RAID Laufwerk.
    /dev/sdb1 /media/USBRaid ext4 auto,nouser,exec,async,noatime 0 0
    # Network Attached Storage Synology
    192.168.2.120:/volume1/backup /media/synology223j/backup nfs auto,user,exec,async,noatime 0 0
    .
    .
    Das Script funktioniert einwandfrei mit dem #USBRaid Laufwerk (RAID 0 - Striping)
    aber nicht mit dem #Synology #NAS (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.
    .
    .
    ??? Kann sich hier wer vorstellen oder weiß warum das mit der #NAS nicht funzt ???

  2. Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.

    Ich habe ein #Script das nicht funktioniert und doch funktioniert *grrrr*

    (Script Begin)
    #!/bin/bash

    set -ex

    # check for mount
    grep /backup /etc/mtab > /dev/null || exit 1

    # directory to backup
    BDIR=/home/wilma_wein/

    # Destination dir for rsync
    DDIR=/media/backup

    # excludes file - this contains a wildcard pattern per line of files to exclude
    EXCLUDES=/root/rsy.excl

    # BACKUPDIR=${1:-`date +%A`}
    BACKUPDIR=${1:-"day"`date +%d`}

    OPTS="--force
    --ignore-errors \
    --delete-excluded \
    --exclude-from=$EXCLUDES
    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"

    export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

    # if destination does not exist, make it;-)
    [ -d $DDIR ] || mkdir $DDIR

    # write logfile
    echo oooooooooooooooooooooooooooooooooooooooooooo >> /root/rsy.log
    date >> /root/rsy.log

    # delete existing backup dir
    [ -d $DDIR/$BACKUPDIR ] && (echo remaking $DDIR/$BACKUPDIR >> /root/rsy.log; rm -r $DDIR/$BACKUPDIR)

    # now the actual transfer
    rsync $OPTS $BDIR $DDIR/current >> /root/rsy.log

    (Script Ende)
    .
    .
    Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.

    Folgende Laufwerke sind in meiner #fstab gemountet:

    # Angeschlossenes USB RAID Laufwerk.
    /dev/sdb1 /media/USBRaid ext4 auto,nouser,exec,async,noatime 0 0
    # Network Attached Storage Synology
    192.168.2.120:/volume1/backup /media/synology223j/backup nfs auto,user,exec,async,noatime 0 0
    .
    .
    Das Script funktioniert einwandfrei mit dem #USBRaid Laufwerk (RAID 0 - Striping)
    aber nicht mit dem #Synology #NAS (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.
    .
    .
    ??? Kann sich hier wer vorstellen oder weiß warum das mit der #NAS nicht funzt ???

  3. Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.

    Ich habe ein #Script das nicht funktioniert und doch funktioniert *grrrr*

    (Script Begin)
    #!/bin/bash

    set -ex

    # check for mount
    grep /backup /etc/mtab > /dev/null || exit 1

    # directory to backup
    BDIR=/home/wilma_wein/

    # Destination dir for rsync
    DDIR=/media/backup

    # excludes file - this contains a wildcard pattern per line of files to exclude
    EXCLUDES=/root/rsy.excl

    # BACKUPDIR=${1:-`date +%A`}
    BACKUPDIR=${1:-"day"`date +%d`}

    OPTS="--force
    --ignore-errors \
    --delete-excluded \
    --exclude-from=$EXCLUDES
    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"

    export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

    # if destination does not exist, make it;-)
    [ -d $DDIR ] || mkdir $DDIR

    # write logfile
    echo oooooooooooooooooooooooooooooooooooooooooooo >> /root/rsy.log
    date >> /root/rsy.log

    # delete existing backup dir
    [ -d $DDIR/$BACKUPDIR ] && (echo remaking $DDIR/$BACKUPDIR >> /root/rsy.log; rm -r $DDIR/$BACKUPDIR)

    # now the actual transfer
    rsync $OPTS $BDIR $DDIR/current >> /root/rsy.log

    (Script Ende)
    .
    .
    Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.

    Folgende Laufwerke sind in meiner #fstab gemountet:

    # Angeschlossenes USB RAID Laufwerk.
    /dev/sdb1 /media/USBRaid ext4 auto,nouser,exec,async,noatime 0 0
    # Network Attached Storage Synology
    192.168.2.120:/volume1/backup /media/synology223j/backup nfs auto,user,exec,async,noatime 0 0
    .
    .
    Das Script funktioniert einwandfrei mit dem #USBRaid Laufwerk (RAID 0 - Striping)
    aber nicht mit dem #Synology #NAS (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.
    .
    .
    ??? Kann sich hier wer vorstellen oder weiß warum das mit der #NAS nicht funzt ???

  4. Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.

    Ich habe ein #Script das nicht funktioniert und doch funktioniert *grrrr*

    (Script Begin)
    #!/bin/bash

    set -ex

    # check for mount
    grep /backup /etc/mtab > /dev/null || exit 1

    # directory to backup
    BDIR=/home/wilma_wein/

    # Destination dir for rsync
    DDIR=/media/backup

    # excludes file - this contains a wildcard pattern per line of files to exclude
    EXCLUDES=/root/rsy.excl

    # BACKUPDIR=${1:-`date +%A`}
    BACKUPDIR=${1:-"day"`date +%d`}

    OPTS="--force
    --ignore-errors \
    --delete-excluded \
    --exclude-from=$EXCLUDES
    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"

    export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

    # if destination does not exist, make it;-)
    [ -d $DDIR ] || mkdir $DDIR

    # write logfile
    echo oooooooooooooooooooooooooooooooooooooooooooo >> /root/rsy.log
    date >> /root/rsy.log

    # delete existing backup dir
    [ -d $DDIR/$BACKUPDIR ] && (echo remaking $DDIR/$BACKUPDIR >> /root/rsy.log; rm -r $DDIR/$BACKUPDIR)

    # now the actual transfer
    rsync $OPTS $BDIR $DDIR/current >> /root/rsy.log

    (Script Ende)
    .
    .
    Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.

    Folgende Laufwerke sind in meiner #fstab gemountet:

    # Angeschlossenes USB RAID Laufwerk.
    /dev/sdb1 /media/USBRaid ext4 auto,nouser,exec,async,noatime 0 0
    # Network Attached Storage Synology
    192.168.2.120:/volume1/backup /media/synology223j/backup nfs auto,user,exec,async,noatime 0 0
    .
    .
    Das Script funktioniert einwandfrei mit dem #USBRaid Laufwerk (RAID 0 - Striping)
    aber nicht mit dem #Synology #NAS (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.
    .
    .
    ??? Kann sich hier wer vorstellen oder weiß warum das mit der #NAS nicht funzt ???

  5. Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.

    Ich habe ein #Script das nicht funktioniert und doch funktioniert *grrrr*

    (Script Begin)
    #!/bin/bash

    set -ex

    # check for mount
    grep /backup /etc/mtab > /dev/null || exit 1

    # directory to backup
    BDIR=/home/wilma_wein/

    # Destination dir for rsync
    DDIR=/media/backup

    # excludes file - this contains a wildcard pattern per line of files to exclude
    EXCLUDES=/root/rsy.excl

    # BACKUPDIR=${1:-`date +%A`}
    BACKUPDIR=${1:-"day"`date +%d`}

    OPTS="--force
    --ignore-errors \
    --delete-excluded \
    --exclude-from=$EXCLUDES
    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"

    export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

    # if destination does not exist, make it;-)
    [ -d $DDIR ] || mkdir $DDIR

    # write logfile
    echo oooooooooooooooooooooooooooooooooooooooooooo >> /root/rsy.log
    date >> /root/rsy.log

    # delete existing backup dir
    [ -d $DDIR/$BACKUPDIR ] && (echo remaking $DDIR/$BACKUPDIR >> /root/rsy.log; rm -r $DDIR/$BACKUPDIR)

    # now the actual transfer
    rsync $OPTS $BDIR $DDIR/current >> /root/rsy.log

    (Script Ende)
    .
    .
    Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.

    Folgende Laufwerke sind in meiner #fstab gemountet:

    # Angeschlossenes USB RAID Laufwerk.
    /dev/sdb1 /media/USBRaid ext4 auto,nouser,exec,async,noatime 0 0
    # Network Attached Storage Synology
    192.168.2.120:/volume1/backup /media/synology223j/backup nfs auto,user,exec,async,noatime 0 0
    .
    .
    Das Script funktioniert einwandfrei mit dem #USBRaid Laufwerk (RAID 0 - Striping)
    aber nicht mit dem #Synology #NAS (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.
    .
    .
    ??? Kann sich hier wer vorstellen oder weiß warum das mit der #NAS nicht funzt ???

  6. God, I have wasted so many hours today getting rsync to work on windows and it is still not working =[

    I wish we could just use Linux everywhere :/

    #windows #rsync

  7. God, I have wasted so many hours today getting rsync to work on windows and it is still not working =[

    I wish we could just use Linux everywhere :/

    #windows #rsync

  8. God, I have wasted so many hours today getting rsync to work on windows and it is still not working =[

    I wish we could just use Linux everywhere :/

    #windows #rsync

  9. God, I have wasted so many hours today getting rsync to work on windows and it is still not working =[

    I wish we could just use Linux everywhere :/

    #windows #rsync

  10. I used to use rsync.net for backing up data ages ago. I'm thinking about going back to it especially since it means I can use the excellent FTP Files app from Anders Borum for iOS.

    Is anyone using rsync.net these days and have any feedback on how it may have improved, degraded, etc?

    #rsync #backup

  11. I used to use rsync.net for backing up data ages ago. I'm thinking about going back to it especially since it means I can use the excellent FTP Files app from Anders Borum for iOS.

    Is anyone using rsync.net these days and have any feedback on how it may have improved, degraded, etc?

    #rsync #backup

  12. I used to use rsync.net for backing up data ages ago. I'm thinking about going back to it especially since it means I can use the excellent FTP Files app from Anders Borum for iOS.

    Is anyone using rsync.net these days and have any feedback on how it may have improved, degraded, etc?

    #rsync #backup

  13. I used to use rsync.net for backing up data ages ago. I'm thinking about going back to it especially since it means I can use the excellent FTP Files app from Anders Borum for iOS.

    Is anyone using rsync.net these days and have any feedback on how it may have improved, degraded, etc?

    #rsync #backup

  14. 🧩🪛 The mount subsystem rewrite 🪛🧩 in @backintime continues… and it’s rough.

    🧱 It’s a grind: boring, confusing, and full of “why is this like this?” moments while untangling years of accumulated code. 😵 Not glamorous work, but necessary. Slowly making sense of the old structure and trying to shape something cleaner. Progress feels slow, but it *is* moving. 😅

    Not giving up. 🔐 Right now wrestling with SSH profile handling: github.com/bit-team/backintime

  15. 🧩🪛 The mount subsystem rewrite 🪛🧩 in @backintime continues… and it’s rough.

    🧱 It’s a grind: boring, confusing, and full of “why is this like this?” moments while untangling years of accumulated code. 😵 Not glamorous work, but necessary. Slowly making sense of the old structure and trying to shape something cleaner. Progress feels slow, but it *is* moving. 😅

    Not giving up. 🔐 Right now wrestling with SSH profile handling: github.com/bit-team/backintime

    #backup #foss #openSource #rsync #ssh #ubuntu

  16. 🧩🪛 The mount subsystem rewrite 🪛🧩 in @backintime continues… and it’s rough.

    🧱 It’s a grind: boring, confusing, and full of “why is this like this?” moments while untangling years of accumulated code. 😵 Not glamorous work, but necessary. Slowly making sense of the old structure and trying to shape something cleaner. Progress feels slow, but it *is* moving. 😅

    Not giving up. 🔐 Right now wrestling with SSH profile handling: github.com/bit-team/backintime

    #backup #foss #openSource #rsync #ssh #ubuntu

  17. 🧩🪛 The mount subsystem rewrite 🪛🧩 in @backintime continues… and it’s rough.

    🧱 It’s a grind: boring, confusing, and full of “why is this like this?” moments while untangling years of accumulated code. 😵 Not glamorous work, but necessary. Slowly making sense of the old structure and trying to shape something cleaner. Progress feels slow, but it *is* moving. 😅

    Not giving up. 🔐 Right now wrestling with SSH profile handling: github.com/bit-team/backintime

    #backup #foss #openSource #rsync #ssh #ubuntu

  18. 🧩🪛 The mount subsystem rewrite 🪛🧩 in @backintime continues… and it’s rough.

    🧱 It’s a grind: boring, confusing, and full of “why is this like this?” moments while untangling years of accumulated code. 😵 Not glamorous work, but necessary. Slowly making sense of the old structure and trying to shape something cleaner. Progress feels slow, but it *is* moving. 😅

    Not giving up. 🔐 Right now wrestling with SSH profile handling: github.com/bit-team/backintime

    #backup #foss #openSource #rsync #ssh #ubuntu

  19. Ubuntu installation on Hyper-v vm seems to be stuck on installing the system #rsync

    askubuntu.com/q/1566274/612

  20. Ubuntu installation on Hyper-v vm seems to be stuck on installing the system #rsync

    askubuntu.com/q/1566274/612

  21. Ubuntu installation on Hyper-v vm seems to be stuck on installing the system #rsync

    askubuntu.com/q/1566274/612

  22. Ubuntu installation on Hyper-v vm seems to be stuck on installing the system #rsync

    askubuntu.com/q/1566274/612

  23. Ubuntu installation on Hyper-v vm seems to be stuck on installing the system #rsync

    askubuntu.com/q/1566274/612

  24. OK, here's a #TechieQuestion: if I want to sync directories from a Linux server using a Python script, does it make much difference whether I invoke a shell command with rsync from the Python script or use a dedicated Python sync command such as pyrsync?

    (Boosts welcome if this isn't your area of expertise)

    #python #rsync #linux