Skip to content

PG Clone

Clownfused edited this page Apr 17, 2019 · 41 revisions
WANT TO HELP? CLICK THE ★ (STAR LOGO) in the Upper-Right!

  • 📂 [Click Here] - Google G-Suite (Unlimited Hard Drive Space & Storage)
  • 📂 [Click Here] - Top Performance NewsHost! - Blitz Members Receive a 58% Discount

Reference Shortcut - http://pgclone.pgblitz.com | Discord ( !pgclone )



Table of Contents

  1. Intro
    1. Background Information
    2. Key Authentication Warning
  2. Transport System
    1. Methods
    2. Additional Considerations
  3. Summary

1. Intro

Welcome to PG Clone! So what is it PG Clone? PG Clone is a suite of services that utilize RClone with custom coding and adaption to RClone's configuration file to enable a fast, hasty, and more simplified deployment through the use of PlexGuide's deployment interface.

i. Background Information

We discovered over the course of time that editing RClone through the use of RClone config is both simple and complex process depending on the user's requirements. PG stripped out and put in directly what is required for PG to operate. RClone can be quite overwhelming because it covers both a broad scope of services that do a great job by attempting to unify both simplicity and flexibility; both within its large scope of deploying cloud drives. By understanding how RClone operates, we are able to create PG Clone; while providing personnel Google's Authentication for your project!

ii. Key Authentication Warning

Do NOT ever trust anyone who runs a project that provides OAuth from their servers. PG is dedicated 100% to providing you your own privacy and access. Others will have access to your data and more if you provide them your keys or authenticate through their services!

2. Transport System

When utilizing PlexGuide the first time and selecting PG Clone, it forces the user to select a transport system but the question that is asked is what is a transport system? A transport system through PG Clone is the method that a user selects in order to transport data through the use of a method or means to accomplish their objective. Below, there is a screenshot that it will ask you what type of method that you want to select.

i. Methods

There are four transport methods that can be select from. For each, select one of the following:

ii. Additional Considerations

Before selecting a method, consider the requirements. The process can be simple or quite complex based on what is required. Be warned that switching from unencrypted to encrypted or vise versa will require the user to download all of their data and then re-upload. Doing so also creates double bandwidth considerations (upload and download of the same data). Personally, I utilize the unencrypted versions which allow you to see all of your data through Google Drive.

2. Summary

/mnt/unionfs is a union of /mnt/downloads, /mnt/move, /mnt/gdrive, /mnt/tdrive. It also has /mnt/tcrypt and /mnt/gcrypt if using encryption. Processing location default /mnt

Note: we will use /mnt here for ease of explaining but replace /mnt with your processing location.

How it works with 8.3 and above: Files download to:

/mnt/incomplete/nzbget
/mnt/incomplete/rutorrent

etc

Once completed, your downloader moves them to:

/mnt/downloads/nzbget
/mnt/downloads/rutorrent

etc

Once your download is completed sonarr/radarr/lazylibrarian/lidarr will be notified. They will then rename the file and move the file to your library. Radarr and Sonarr have download mappings (you need to configure them). It will replace the path the downloaders give,

/mnt/downloads/nzbget/[...] to
/mnt/unionfs/nzbget/[..]

Sonarr/radarr/etc will then organize and rename the files and import them into the library, which is /mnt/unionfs/category/[...]

The real location of the files is /mnt/downloads/[category]/[...].

The files are now ready for upload. Blitz/Move script runs and moves any completed files to /mnt/move, ignoring any files underneath a downloader folder (/mnt/downloads/nzbget). It will move things like /mnt/downloads/tv, /mnt/downloads/abooks, /mnt/downloads/mycustomcategory, etc).

So at this point, your files are in /mnt/move, ready to upload.

Move: Move will upload the files directly from /mnt/move

Blitz: Blitz will move files from /mnt/move to /mnt/pgblitz/uploads, then again to /mnt/pgblitz/gsaxx and begin uploading. This may seem like it's redundant to move it a few times, but it's instant and keeps the same expected behavior (files in /mnt/move upload).

Now that uploads are finished it will delete empty folders underneath /mnt/move/category and /mnt/downloads/category/

Notes:

  • The process from going to completed to upload is a lot faster now, you may miss it.
  • You should connect sonarr/radarr to plex and make sure you setup mappings (see their wiki pages for configuration)
  • Move/Blitz will not process downloads while there is an active upload. Think of batches, it grabs whats ready, process and upload, then repeat.

📂 Click Here - NZB's from USENET Server - PG Members Receive a 60% Discount

http://PGBlitz.wiki

Useful Starter Links

  1. Introduction
  2. Blitz YouTube Channel
  3. G-Suite Signup
  4. Recommended NewsHosts

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PG Editions
  5. PGBlitz Repos
  6. Common Issues

Deploy & Config

PGBlitz
  1. SSH Server Access
  2. Create a SUDO User
  3. Install PGBlitz
  4. WatchTower
  5. Remote Path Mappings

Data Transport
  1. PG Clone
    1. Google OAuth Keys
    2. PG Move
    3. PG Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PG Shield
  4. PG Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PG Fork
  8. Extra PG Commands

Blitz App Info

  1. Accessing PG Apps
  2. App Port Scheme
  3. Plex to AutoScan

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. RuTorrent
  14. SABNZBD
  15. Sonarr
  16. Tautulli
Community Apps [Expand]
  1. AirSonic
  2. AllTube
  3. Bazarr
  4. Beets
  5. Bitwarden
  6. BookSonic
  7. cAdvisor
  8. Cloud Commander
  9. DDClient
  10. Deezloaderremix
  11. Deluge
  12. DelugeVPN
  13. Duplicati
  14. EmbyStats
  15. FlexGet
  16. Gazee
  17. Gitea
  18. Handbrake
  19. Headphones
  20. Heimdall
  21. HomeAssistant
  22. HTPCManager
  23. JDownloader2
  24. jd2-openvpn
  25. Kitana
  26. Logarr
  27. MakeMKV
  28. MariaDB
  29. McMyadmin
  30. MEDUSA
  31. Mellow
  32. Monitorr
  33. Muximux
  34. Mylar
  35. NextCloud
  36. NowShowing
  37. NZBHydra2
  38. NZBThrottle
  39. Organizr
  40. pyLoad
  41. Radarr4k
  42. Resilio
  43. rflood-openvpn
  44. rutorrent-openvpn
  45. ShareSite
  46. Shoko Anime Server
  47. SpeedTest
  48. SyncLounge
  49. Syncthing
  50. The Lounge
  51. Transmission
  52. Trakt.or
  53. Ubooquity
  54. x TeVe
  55. Zammad

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
Scripts
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
Clone this wiki locally
You can’t perform that action at this time.