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 8.6.5 PGmove command

zootsuitriot

Blitz 3rd Class
PG Version
8.6.5
Mount Type
Move Encrypted
Server Type
Remote - VPS
Hi there,

Just want to point out, when trying to check status of files being moved, pgmove brought this up

tail: option used in invalid context -- 2

this saddens me
 

megemega

Blitz 3rd Class
I'm also getting this error message.

Installed : 8.6.4
PG Move w/ Encryption
 
Last edited:

MrDoob

Administrator
Project Manager
Donor
Thanks for catch


Fixed ;) just redeploy it ;)
 

megemega

Blitz 3rd Class

The following is if you use if you use pgblitz

If you use PGMove:
Simply change pgblitz.sh commands to pgmove.sh

---------------------------------------------------------------------
Without redeploy >>

service pgblitz stop
service pgblitz status
kill {pid} numbers

cd /opt/appdata/pgblitz
nano pgblitz
scroll.down and find this line

(At the end)
find "{{hdpath}}/move/" -type d -mmin +2 -empty -exec rm -rf {} \;

Change to

find "{{hdpath}}/move/" -mindepth 2 -type d -mmin +2 -empty -exec rm -rf {} \;

Ctrg + x > y

chmod -R 755 pgblitz.sh

sudo mkdir /mnt/move

chown -cR 1000:1000 /mnt/move

service pgblitz start
 

MrDoob

Administrator
Project Manager
Donor
Edit done on the script

Update pushed to githube @megemega
 

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

 

Trending

Top