Naitor

Members
  • Posts

    12
  • Joined

  • Last visited

Naitor's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Hi there, I use the Backup Script by mgutt for all my backups. Now its a little bit anoying to visit every backup folder to check the log file. I want to save all the log files to one share, where i can access them directly. I am not that good at bash scripting so can anybody help me please? I found this in the end of the script and i tried many things to move the file to a share. But it did not work. # move log file to destination log_path=$(rsync --dry-run --itemize-changes --include=".$new_backup/" --include="$new_backup/" --exclude="*" --recursive "$dst_path/" "$empty_dir" | cut -d " " -f 2) [[ $log_path ]] && rsync "${dryrun[@]}" --remove-source-files "$log_file" "$dst_path/$log_path/$new_backup.log" [[ -f "$log_file" ]] && rm "$log_file" done I asked in the Rsync Incremental Thread but no response. I wrote a PN to mgutt but he did not answer to this time. So i try it here again. Thank you for your help!
  2. Yes. Try it on a linux vm with any small folder. That is how i test my setzings 🙂
  3. Please help 🙂 Can somebody explain please how to change the Path where the logfile is saved after the Backup? I want one Folder outside the destination path with all the log files from all my backups, so i can go through and check if all the backups are made. Would be very kind, im a newbie when it comes to bash! # move log file to destination log_path=$(rsync --dry-run --itemize-changes --include=".$new_backup/" --include="$new_backup/" --exclude="*" --recursive "$dst_path/" "$empty_dir" | cut -d " " -f 2) [[ $log_path ]] && rsync "${dryrun[@]}" --remove-source-files "$log_file" "$dst_path/$log_path/$new_backup.log" [[ -f "$log_file" ]] && rm "$log_file"
  4. Hi, Thank you for this awesome script! I use it against ransomware - one question: can you use chattr +i after the incrimental Backup on the backup server and the script will add more hardlinks with the next backup? Or are there no more hardlinks possible after chattr+i ? ('i' A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file, most of the file's metadata can not be modified, and the file can not be opened in write mode. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.) Same in German: Hallo, danke für das tolle Script! Ich benutze das Script bei mir gegen Ransomeware und natürlich für ein Backup. Meine Frage jetzt; kann ich als zusätzlichen Schutz noch chattr+i über die bereits gesicherten Files drüberlaufen lassen? Oder werden dann keine Hardlinks mehr erstellt?
  5. Der Container wurde von mir gestoppt und gelöscht.... werds mal mit einem Server Neustart probieren.
  6. Hallo Leute, leider kann ich eine Datei (Überbleibsel von meinem Paperless Container) nicht mehr löschen. Habe alles versucht. Es hilft nichts. Kann mir bitte jemand helfen?
  7. Hallo, ich bitte um eure Unterstützung. Ich wollte gerade einen USB-Stick mit Unraid beschreiben. Doch wenn ich das Tool starte, fängt er zwar an, zu Downloaden aber wird bei 100% Download ohne Fehlermeldung beendet. Der Stick bleibt dabei leer. Ich habe mehrere verschiedene USB - Stick verwendet (auch solche, bei denen ich ganz sicher weiß, dass sie funktionieren) Weiß jemand Rat bitte?
  8. Is anybody using this script still? Or are there any newer ways to projetct your data from encryption?
  9. Thank you for your reply, I'm going to try it as soon as I build together all components for my new server!
  10. Hi. I have an unraid licence running on my server (server no 1) for this server i used external harddrives for my array only. Now i bought a complete new rig with internal hdd. My plan is to build it up from scratch. So i will start using the test-version, copy all files from server no1 to my new rig. After that, i want to move my licence from server no1 to server no2 , without take the old config of course… and then im going to delete the old server no1 and i will sell it. My question is: is it even possible to make these things and move the licence in the end? Thank you