Skip to content

Instantly share code, notes, and snippets.

@srpouyet
Last active December 19, 2015 05:29
Show Gist options
  • Save srpouyet/5904430 to your computer and use it in GitHub Desktop.
Save srpouyet/5904430 to your computer and use it in GitHub Desktop.
How to restore IPKG and rdiff-backup after updating Synology DSM 4 to a new version.
  1. ssh in to your Synology
  2. $ vi /root/.profile
  3. prepend /opt/bin:/opt/sbin: to PATH so it looks like PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
    replace the standard rdiff packages with symlinks:
  4. $ ln -s /opt/bin/rdiff-backup-2.6 /usr/bin/rdiff-backup
  5. $ ln -s /opt/bin/rdiff-backup-statistics-2.6 /usr/bin/rdiff-backup-statistics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment