How to automatically backup website via FTP to Synology NAS

Evotec has written a quite good step by step manual how to set-up a backup task into Synology DSM, you can see it here: https://evotec.xyz/how-to-backup-ftp-to-synology/
But his backup functions and principles – there are mistakes and here are the correct and fixed codes.

wget -m -nH ftp://USERNAME:PASSWORD@SERVER_IP/public_html/* -P /volume1/Private/BACKUP/www_automated_backups/temp
tar -zcvf /volume1/Private/BACKUP/www_automated_backups/backup-siteground-$(date +%Y-%m-%d-%H-%M-%S).tar.gz -C /volume1/Private/BACKUP/www_automated_backups/temp .
rm -rf /volume1/Private/BACKUP/www_automated_backups/temp/*

wget -nH is needed so all the server path before the chosen folder isn’t saved in our backup
Temp folder is needed because there will be put all the downloaded data
Note the “/volume1/” – that is a full path for my folder structure (not visible in file station), but without a correct full path this script won’t work.

-C changes the directory to the Temp one and “.” states to use all its content and not archiving the full path on the server.
rm -rf will clean out the temp folder so next time archive will be created from only again fresh downloaded files and only those.

 

Vinila plates – kur tās iegādāties

Laika gaitā esmu atklājis dažādas vietas, kur pārdod vinila plates un gandrīz visas arī esmu pārbaudījis. Tās arī zemāk uzskaitīšu. Ja kādu neesmu pieminējis – lūdzu rakstiet komentāros.

  • Lietotas, ir arī jaunas
    • Pārsvarā Melodijas plates
      • Otrā elpa (Gan uz Stabu ielas, gan Aleksandra Čaka ielas )
      • Latgalītes tirdziņā ir divas vietas – taisni, galā pa kreisi
    • Vairāk uzsvars uz ārzemju
      • Foto56 (Lāčplēša iela 56)
      • Labā bode: labaabode.lv (ieved no Zviedrijas)
      • https://www.facebook.com/PrecesNoVacijas
      • Lira – www.lira.lv/?catid=1
      • Vinila valdis – zinu ka ir sastopams Kalnciema ielas tirdziņā ([email protected])
      • Antikvariāts – pagrabiņā uz Barona ielas pretī bijušajai Sporta pilij.
      • LP – Ģertrūdes 37 (starp Tērbatas un Barona ielām) (Tur ir jaunas, gan lietotas plates..)
      • Antikvariāts Jumavas grāmatnīcas pagrabā – Dzirnavu 73 – Padārgi un diezgan saskrāpētas plates
    • Facebook grupa: https://www.facebook.com/groups/vinylmania/
  • Vairāk uzsvars uz jaunām platēm, ir arī lietotas
    • Upe (Vecrīgā pie GC)
    • Unisons – mājās kinoteātris (Pagrabiņā Ģertrūdes 38; uzreiz aiz Barona Centra)
    • Elkor plaza
  • Internetā
    • Amazon (co.uk – ātrums un nav nodokļi jāmaksā)
    • Discogs (ļoti uzmanīgi ar pārdevēju, VG+ kvalitāte realitātē izrādījās nežēlīgi nospēlēta un saskrāpēta)
    • dodax.co.uk – labas atsauksmes vinila grupā
    • juno.co.uk – dalītas atsauksmes vinila grupā
  • Internetā (citu ieteiktas)
    • elusivedisc.com (var uzrauties uz muitu ja daudz plates vienā sūtījumā)
    • normanrecords.com (Norman ir Līdsa (Anglija))
    • boomkat.com
    • dodax-online-uk caur amazon.co.uk (atrodu to par lētāko sūtīšanas izmaksu ziņā un ātrāku par pašu amazon)
    • juno.co.uk (britiem labs,lēts pasts, ko nevar teikt par vāciešiem)
    • www.hhv.de/shop/en
    • www.jpc.de

CrashPlan backup on Synology NAS

A better way how to install Crashplan 4.8.0 on Synology NAS is to use a Docker. Here is a step by step manual how to install and configure: https://blog.rylander.io/2016/12/12/setup-crashplan-in-a-docker-container-on-synology/

  • then inside the docker container details add volume as /FOLDER -> /storage/FOLDER

———

Step by step install manual on DSM5.x with Intel CPU:  www.hanselman.com/blog

Some tips and tricks (install, configuration and known issues):
http://forum.synology.com/wiki/index.php/CrashPlan_Headless_Client

How to install Crashplan on Synology with PPC cpu (DS413 for example):
http://forum.synology.com/enu/viewtopic.php?f=190&t=93067
http://forum.synology.com/enu/viewtopic.php?f=190&t=93754

How to fix crashplan after DSM 5.1 update:
https://www.simplicate.info/2015/01/10/fixing-crashplan-update-synology-dsm-5-1/