Skip to content
desimaniac edited this page Feb 19, 2019 · 1 revision

(work in progress)

Useful for migrating server to server.

Overview

  1. Destination

    1. Dependencies

    2. Preinstall

    3. Login as user

    4. Setup and enable rsync server

      sudo nano /etc/rsyncd.conf
      

      Format:

      [rsync_name]
          path = /path/to/backups/as/specified/in/local/destination/in/backup_config.yml
          comment = Backup folder
          uid = seed
          gid = seed
          read only = no
          list = yes
      

      Example:

      [backup]
          path = /home/seed/Backups/Cloudbox/Cloudbox
          comment = Backup folder
          uid = seed
          gid = seed
          read only = no
          list = yes
      

      Start Rsync:

      sudo systemctl start rsync
      
    5. Create backup folder.

      mkdir -p /home/seed/Backups/Cloudbox/Cloudbox
      
  2. Source

    1. Create SSH key

      ssh-keygen

      ➜ ssh-keygen
      Generating public/private rsa key pair.
      Enter file in which to save the key (/home/seed/.ssh/id_rsa):
      Created directory '/home/seed/.ssh'.
      Enter passphrase (empty for no passphrase):
      Enter same passphrase again:
      Your identification has been saved in /home/seed/.ssh/id_rsa.
      Your public key has been saved in /home/seed/.ssh/id_rsa.pub.
      The key fingerprint is:
      SHA256:PLaFOPjdddFV2ePo6hRnctslaeWEq9wLnbD89/rkkVE seed@mediaserver
      The key's randomart image is:
      +---[RSA 2048]----+
      |          .o   oo|
      |         .. o .. |
      |      . .  . . .E|
      |     . * .  o .o.|
      |    . = S +=+*+o.|
      |     . = * *O++oo|
      |      . o o..o.+.|
      |         ..   ooo|
      |         ..   .+=|
      +----[SHA256]-----+
      
    2. Send SSH key to Destination server.

      ssh-copy-id -i ~/.ssh/id_rsa seed@ipaddress
      

      Type in your password to confirm.

      /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/user/seed/.ssh/id_rsa.pub"
      
      Number of key(s) added:        1
      
      Now try logging into the machine, with:   "ssh 'seed@newserveripaddress'"
      and check to make sure that only the key(s) you wanted were added.
      
    3. Test rsync URL.

      Format

      rsync -rdt rsync://user@newserveripaddress/rsync_name
      

      Example:

      rsync -rdt rsync://seed@1.2.3.4/backup
      
    4. Setup backup config.

      backup_config.yml

      Format:

      rsync:
        enable: true
        destination: rsync://user@newserveripaddress/rsync_name

      Example:

      local:
        enable: false
        destination: /home/{{user}}/Backups/Cloudbox/Cloudbox
      rclone:
        enable: false
        destination: whatever
      rsync:
        enable: true
        destination: rsync://seed@1.2.3.4/backup
    5. Run backup.

  3. Destination

    1. Verify local backup folder has backup tarballs.

    2. Run restore

Basics

  1. Introduction
  2. Cloudbox Install Types
  3. Cloudbox Paths
  4. Accessing Cloudbox Apps

Prerequisites

  1. Overview
  2. Presumptions
  3. Server
  4. Domain Name
  5. Cloudflare
  6. Cloud Storage
  7. Plex / Emby - Account
  8. Usenet vs. BitTorrent

Install Cloudbox

Cloudbox
  1. Overview
  2. Dependencies (Choose only one of these)
  3. Settings
  4. Preinstall (Choose only one of these)
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Cloudbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Plex Media Server
    6. Plex Autoscan
    7. Sonarr
    8. Radarr
    9. Lidarr
    10. PlexPy (Tautulli)
    11. Ombi
    12. Portainer
    13. Organizr
  10. Next Steps

Install Feederbox / Mediabox

Feederbox (do this first)
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Feederbox (Choose only one of these)
  9. Application Setup
    1. NZBGet
    2. ruTorrent
    3. NZBHydra2
    4. Jackett
    5. Sonarr
    6. Radarr
    7. Lidarr
    8. Portainer
    9. Organizr
  10. Next Steps

Mediabox
  1. Overview
  2. Dependencies
  3. Settings
  4. Preinstall
  5. SSH
  6. Ansible Vault
  7. Rclone
  8. Mediabox (Choose only one of these)
  9. Application Setup
    1. Feeder Mount
    2. Plex Media Server
    3. Plex Autoscan
    4. PlexPy (Tautulli)
    5. Ombi
  10. Next Steps

Recommended Reading

Backup and Restore

More Information

Advanced Configuration

Experimental

Extras

Misc

Community-Submitted

See Community Wiki.

Reference

Troubleshooting

Links

Clone this wiki locally