What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Discussion Uploading 30TB from home via PGBlitz - how?

RiCH

Blitz 2nd Class
Which script do I need to edit? Would modifying the file properties to 'read only' ensure that a redeploy wouldn't revert and overwrite the changes?
 
T

TheShadow

Guest
The command I posted will give you the file to edit.
sudo npgblitz
The file is:
/opt/appdata/plexguide/pgblitz.sh

No, it will still overwrite. since this is a temp change, shouldn't be a big deal. If you want it permanent, you can make a fork. Keep in mind, once you fork, you get the code as is. You won't get updates or bug fixes from us in your fork. For you to get updates, you'll need to periodically merge in the latest commits into your fork. You can google for more info on how to do that.
 

RiCH

Blitz 2nd Class
@TheShadow

Had a chance to test it and it's not working sadly.

I edited /opt/appdata/plexguide/pgblitz.sh and changed 'moveto' to 'copyto' and ran Blitz .... still deletes the source from /mnt/move/
I ran Blitz and then edited /opt/appdata/plexguide/pgblitz.sh and changed 'moveto' to 'copyto' ... still deletes the source from /mnt/move/

You're right about Blitz reverting to 'moveto' on redeploy :)

Any idea what else I could try to make sure that the source isn't deleted?
 

RiCH

Blitz 2nd Class
I think I found a better option than modifying the script:

sudo mount --bind -r /mnt/hgfs/PGBlitz /mnt/move/

Mounts any source as read-only :)

Tested it and:
1. PGBlitz immediately picks up any files that are dropped into the 'PGBlitz' folder and sends them to tcrypt
2. The files dropped into the 'PGBlitz' folder aren't modified or deleted

:)
 

RiCH

Blitz 2nd Class
I spoke too soon ... it works. But it never stops working!

PGBlitz continues to send ... even after the files are on tcrypt. It basically never stops uploading.

I guess because it has 'read only' permissions on the bind, it can't ascertain what has been moved/sent - so it continually moves/sends the same files.

So 'mount --bind -r /mnt/hgfs/PGBlitz /mnt/move/' is basically telling PGBliz to move/send whatever it sees in 'move' - forever.

Any way around that @Admin?
 
Last edited:

RiCH

Blitz 2nd Class
@TheShadow

To confirm: should I run PGBlitz and then edit '/opt/appdata/plexguide/pgblitz.sh' to change 'moveto' to 'copyto' ?

Do I need to restart anything in order for it to work ?
 

RiCH

Blitz 2nd Class
Okay, I think I've figured it out ...

Running it now on a 500GB volume with 'copyto' to see if it stops sending after the job has finished ... will report back :)
 

RiCH

Blitz 2nd Class
Sadly it doesn't work, even with 'copyto' .... after the transfer has finished, it basically repeats ... and repeats. Overwriting the files that have already been uploaded.

So that 500GB upload finishes and then it changes to '50%' of 1TB, etc, etc.

Any other ideas please?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Development Donations

 

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Trending

Top