Search found 15 matches

by wpinsites
Sat Apr 06, 2024 3:18 pm
Forum: Backup
Topic: Using rclone to transfer backups to Google Drive
Replies: 0
Views: 6895

Using rclone to transfer backups to Google Drive

Basic how-to for installing Rclone, configuring it and setting up a script to transfer backups to your Google Drive. The script can be called via cron to automate the process. Includes ability to specify how many remote backups you wish to keep. Why? Some of the other options for storing backups on ...
by wpinsites
Tue Mar 12, 2024 3:06 am
Forum: General discussion
Topic: Dozens of emails from cron "sudo: no tty present and no askpass program specified" + admin u/p "invalid"
Replies: 3
Views: 2965

Re: Dozens of emails from cron "sudo: no tty present and no askpass program specified" + admin u/p "invalid"

Additional steps I have taken to try to work out what the underlying issue is: v-list-cron-jobs - shows that all of the cron jobs I'm receiving emails about are owned by the admin user v-rebuilt-user admin - had no impact, no change v-rebuilt-cron-jobs admin - had no impact, no change Generated a r...
by wpinsites
Sun Mar 10, 2024 11:51 pm
Forum: General discussion
Topic: Dozens of emails from cron "sudo: no tty present and no askpass program specified" + admin u/p "invalid"
Replies: 3
Views: 2965

Re: Dozens of emails from cron "sudo: no tty present and no askpass program specified" + admin u/p "invalid"

I have since reset the admin password but this has made no difference.

Still getting the emails from cron and still can't log in.

I also restarted the vestacp service.
by wpinsites
Sun Mar 10, 2024 10:54 pm
Forum: General discussion
Topic: Dozens of emails from cron "sudo: no tty present and no askpass program specified" + admin u/p "invalid"
Replies: 3
Views: 2965

Dozens of emails from cron "sudo: no tty present and no askpass program specified" + admin u/p "invalid"

Hi all! I awoke to a lovely gift this Monday morning, my email inbox with dozens of emails from cron all with the message: sudo: no tty present and no askpass program specified I immediately tried to access the MyVestaCP but it tells me my admin login and password is invalid - yay! :( I have root se...
by wpinsites
Wed Aug 04, 2021 10:06 am
Forum: Backup
Topic: Limiting number of remote backups
Replies: 6
Views: 12770

Re: Limiting number of remote backups

Thanks. That's a bit simpler than what I did. Changes made, so it should be good now. :D
by wpinsites
Wed Aug 04, 2021 9:05 am
Forum: Backup
Topic: Limiting number of remote backups
Replies: 6
Views: 12770

Re: Limiting number of remote backups

So I did some more digging today and (hopefully) I have come up with a solution to my issue. First I found that for most of my script root privileges aren't required, so I just removed the "sudo" from the start of the cron job and the script mostly worked. However, for one section, which i...
by wpinsites
Wed Aug 04, 2021 2:31 am
Forum: Backup
Topic: Limiting number of remote backups
Replies: 6
Views: 12770

Re: Limiting number of remote backups

We need an individual schedule for remote backups so that daily backups for the last 7 days are stored locally, and weekly backups for the last couple of months are stored on the remote FTP server. I have create a script to do almost exactly this using rclone to my Google Drive (rather than FTP) - ...
by wpinsites
Thu Jul 29, 2021 3:27 am
Forum: Bash
Topic: Cloning website, making staging copy (v-clone-website)
Replies: 10
Views: 63699

Re: Cloning website, making staging copy (v-clone-website)

Brilliant. You're awesome! Thanks! :D

I love this script. It is so quick. :!:

Any plans to add this (and possibly the script to install WordPress) to the web interface, possibly in the domain options menu when you hover a domain? :idea:
by wpinsites
Thu Jul 29, 2021 12:36 am
Forum: Bash
Topic: Cloning website, making staging copy (v-clone-website)
Replies: 10
Views: 63699

Re: Cloning website, making staging copy (v-clone-website)

So if I'm copying the cloned (staged) site back to the original, should I override this parameter and set it blank so that I don't end up with the "_migrated" suffix on the original site?