Author Topic: New Backup 2  (Read 12300 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
New Backup 2
« on: February 16, 2020, 10:12:26 PM »
Implementation of improvement requested.

So far im using the new back up  and its functioning well. I am just missing the option to name the file.
I would like the output file name to be able to manual configured, or that you guys put the date of creation in the file name.
Now the file name on the remote location is the same everytime.

I have no idea where the scripts are that i can do it myself, otherwise i would.

But just add / append the creation date and time to the file name so u can have multiple offsite file backups a day

Regards
Mike

Offline
****
Re: New Backup 2
« Reply #1 on: February 16, 2020, 10:16:37 PM »
Unfortunately, you won't be able to edit anything.

/etc/cron.daily calls the script /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php
but that file is encrypted.
Google Hangouts:  rcschaff82@gmail.com

Re: New Backup 2
« Reply #2 on: February 16, 2020, 10:28:34 PM »
I think I posted a custom backup, a couple of weeks back - it time stamps them. Then I rsync to a remote server.
Might give you some ideas.

Offline
*
Re: New Backup 2
« Reply #3 on: February 17, 2020, 07:55:18 AM »
i already sent ticket to support about this (41 days)
maybe they are working on this
because this is a basic thing in backup function

Offline
*
Re: New Backup 2
« Reply #4 on: May 25, 2020, 04:41:22 PM »
i have created a backup settings in new backup beta to store the zipped files in a ftp location,
it worked well before some update done by cwp team after that even i create a new one my self automatically the setting is disappeared also while checking in restore account settings i found those settings but no use its now taking backup to ftp

what we have to do clear the old settings and to create a new one


Offline
****
Re: New Backup 2
« Reply #5 on: May 25, 2020, 05:29:57 PM »
tail -n 100 /var/log/cwp/cron_backup.log post here
Google Hangouts:  rcschaff82@gmail.com

Re: New Backup 2
« Reply #6 on: May 25, 2020, 07:33:11 PM »
A custom backup solution is available on this forum, that doesn't rely on encrypted files.

Offline
*
Re: New Backup 2
« Reply #7 on: May 31, 2020, 11:25:36 AM »
Code: [Select]
| wp_eg_item_skins                  |
| wp_eg_navigation_skins            |
| wp_links                          |
| wp_options                        |
| wp_postmeta                       |
| wp_posts                          |
| wp_psninja_amdd                   |
| wp_psninja_amdd_cache             |
| wp_psninja_urls                   |
| wp_revslider_css                  |
| wp_revslider_css_bkp              |
| wp_revslider_layer_animations     |
| wp_revslider_layer_animations_bkp |
| wp_revslider_navigations          |
| wp_revslider_navigations_bkp      |
| wp_revslider_sliders              |
| wp_revslider_sliders_bkp          |
| wp_revslider_slides               |
| wp_revslider_slides_bkp           |
| wp_revslider_static_slides        |
| wp_revslider_static_slides_bkp    |
| wp_term_relationships             |
| wp_term_taxonomy                  |
| wp_termmeta                       |
| wp_terms                          |
| wp_usermeta                       |
| wp_users                          |
| wp_wpgdprc_consents               |
| wp_wpgdprc_log                    |
| wp_yoast_seo_links                |
| wp_yoast_seo_meta                 |
+-----------------------------------+

2020-05-31 07:16:46
2020-05-31 07:16:46
2020-05-31 07:16:47 mysqldump --defaults-extra-file=/root/.my.cnf --opt --add-drop-database --databases washeso\_wp611 2> /home/tmp_bak/washeso/mysql/dump.log | gzip > /home/tmp_bak/washeso/mysql/washeso\_wp611.sql.gz
2020-05-31 07:16:47 Database: washeso_wp870
+-----------------------------------+
|              Tables               |
+-----------------------------------+
| wp_commentmeta                    |
| wp_comments                       |
| wp_eg_grids                       |
| wp_eg_item_elements               |
| wp_eg_item_skins                  |
| wp_eg_navigation_skins            |
| wp_links                          |
| wp_options                        |
| wp_postmeta                       |
| wp_posts                          |
| wp_psninja_amdd                   |
| wp_psninja_amdd_cache             |
| wp_psninja_urls                   |
| wp_revslider_css                  |
| wp_revslider_css_bkp              |
| wp_revslider_layer_animations     |
| wp_revslider_layer_animations_bkp |
| wp_revslider_navigations          |
| wp_revslider_navigations_bkp      |
| wp_revslider_sliders              |
| wp_revslider_sliders_bkp          |
| wp_revslider_slides               |
| wp_revslider_slides_bkp           |
| wp_revslider_static_slides        |
| wp_revslider_static_slides_bkp    |
| wp_term_relationships             |
| wp_term_taxonomy                  |
| wp_termmeta                       |
| wp_terms                          |
| wp_tm_taskmeta                    |
| wp_tm_tasks                       |
| wp_usermeta                       |
| wp_users                          |
| wp_wpgdprc_consents               |
| wp_wpgdprc_log                    |
| wp_yoast_seo_links                |
| wp_yoast_seo_meta                 |
+-----------------------------------+

2020-05-31 07:16:47
2020-05-31 07:16:47
2020-05-31 07:16:47 mysqldump --defaults-extra-file=/root/.my.cnf --opt --add-drop-database --databases washeso\_wp870 2> /home/tmp_bak/washeso/mysql/dump.log | gzip > /home/tmp_bak/washeso/mysql/washeso\_wp870.sql.gz
2020-05-31 07:16:47 Backing users Mysql
2020-05-31 07:16:49 Backing up email accounts
2020-05-31 07:16:49 RECORDS_DNS_DOMAIN 1
2020-05-31 07:16:49 Select domain FROM domains WHERE user="washeso"
2020-05-31 07:18:19 cd /home/tmp_bak/washeso/;ionice -c 3 nice -n +19 tar -czvf washeso.tar.gz --exclude washeso.tar.gz *
2020-05-31 07:18:19 cd /home/tmp_bak/washeso/;mv washeso.tar.gz --exclude /home/tmp_bak/washeso.tar.gz
2020-05-31 07:18:19 Generating washeso.tar.gz
2020-05-31 07:18:19 Type conection cron SFTP
2020-05-31 07:18:19 connection SFTP successful
2020-05-31 07:18:19 Put file from /home/tmp_bak/washeso.tar.gz TO /home/FTP_LOGIN_USER//full/manual///accounts/washeso.tar.gz
2020-05-31 07:18:56 Put OK
2020-05-31 07:18:56 file "/home/tmp_bak/washeso.tar.gz" en /home/FTP_LOGIN_USER/full/manual//accounts/washeso.tar.gz
2020-05-31 07:18:56 Update washeso.tar.gz
2020-05-31 07:18:56 Delecte Directory
2020-05-31 07:18:56 Send email to admin@bajillionlabs.in
2020-05-31 07:18:56 Send email to admin@kpssystems.co.in
2020-05-31 07:19:00 END
2020-05-31 07:19:03 UPDATE backups SET LASTEXEC = "2020-05-31 07:19:03", STRUN ="0", BACKUP_FORCE="0" WHERE ID="1"


Also pls see the images

iam creating a backup option and saving but suddenly its disappeared


Offline
*
Re: New Backup 2
« Reply #8 on: May 31, 2020, 11:35:42 AM »
now after ging to dashboard if i see again my newly created local backup disappeared

Dont know whats happening
i want 2 backup one in local and another one in a sftp server
if  run manually its working fine
noautomatic daily backups

can any one help me to solve this issue