-
Issues backing up to a local back-up server using rsync (endless copying)
Trailing slashes. I have done it differently between doing a dry run the terminal, and then typing it in a user script for sheduling. As a result it has dupicated the share in the different file paths on the server - hence x2 of the share. Many thanks for your help every one.
-
Issues backing up to a local back-up server using rsync (endless copying)
Thanks JorgeB, a great point. I did double check that - as it would trigger the same issue as I'm seeing here - but I have not moved files around inside the folder structure. These shares are static in that way.
-
-
Issues backing up to a local back-up server using rsync (endless copying)
Hi folks, hoping for your kind assistance with something as I try to set up some redundancy on my LAN. I have a main server which is on nearly always. I then have a Microsever Gen 7 which I want to use as a local back up. Wakes up at midnight, copies accross key server shares, then turns off again. But I'm having issues getting the back-up to take place properly. Ideally this is what should happen: 1. Main server sends a Magic Packet to wake up my back-up server at 23:50. (this works) Starts the array. Mounts the SMB shares that I want backing up. 2. At 00:00 (using Cron) my back-up server, which has had enough time to get up and running, runs a user script with Rsync. The running of the script happens. 3. User Scripts executes the following: #!/bin/bash #documents rsync -avhP "/mnt/remotes/MAINSERVER_documents" "/mnt/user/documents" #backups rsync -avhP "/mnt/remotes/MAINSERVER_Backups" "/mnt/user/backup" #photography rsync -avhP "/mnt/remotes/MAINSERVER_photography" "/mnt/user/photography" 4. The Dynamix S3 server pugin then puts my server to sleep after 15 min of inactivity. I have disabled this whilst the initital large transfers happen. Issue: My local back up is endlessly copying files. The SMB share called 'backups' is ~350GB but has copied ~500GB into 'backup' on my backup server. In my head, it is using rsync (see commands above) so should only be checking for changed files - I cannot see why it is duplicating. This did not happen when I ran a test case on my SMB 'documents' folder - which remains at 16GB for both. Question: What have I set up wrong? Are my rsync flags wrong? Should I not be mounting the server SMB shares? If an rsync file transfer fails - should it not just pick back up where it left off the next night the script runs? How can I make my user script more verbose and tell me where it is in the transfer process to help me with debugging this? What am I not understanding?
-
Disappearing and reappearing shares
I have a problem which is progressively getting worse - after a period of 2-10 min after starting the array some of my shares will disappear (appdata, backups, domains and Downloads to name the key ones). Wasn't really a problem until my domains share started doing it - as I have a VM that will just stop working. Now my Downloads folder has also started it (so Sonarr / Radarr / Sab have no where to put downloads). To be clear the shares do exist on the disks still under /user/ and they havent lost any data (e.g. when /domains/ is in the GUI I can use my VMs with no issues). They will disappear from Unraid - but will reappear upon a restart of the array: I've tried a couple of things as per previous forum posts: Attempt 1: stopped my AdBlocker in case it was simply a GUI issue with NFS shares. I also did a parity check and a number of reboots. Attempt 2: I removed all unneeded plug-ins - a previous forum post note that a network related plug-in caused the issue for them. This did not work form me. Attempt 3: removed Sabnzdb (it kept recreating a user/Downloads/ share although I already have one that Sabnzdb is not seeing). Another forum post noted this could be the issue. Attempt 4: removed Radarr/Sonarr and Plex. The only dockers I'm running are macinabox and Krusader. Not sure why they would be the issue - but slimmed it down just incase. The only other item is that I have had some issues clearing my cache drive recently (but after these problems started). I changed the 'free space allocation' and stopped all VMs and Docker. Everything moved across easily. I dont think this is relevant - but worth mentioning. I'm at a loss for next steps to be honest so any help would be appreciated. I'd like to be able to trust the machine to just work but I'm constantly coming across frustrations. Do I need to reinstall everything? dreadnought-diagnostics-20220205-0914.zip
dreadnought
Members
-
Joined
-
Last visited