Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: CoriaWeb Hosting on February 21, 2020, 04:46:55 PM

Title: We need this option at CWP "URGENTLY" (PART 2)
Post by: CoriaWeb Hosting on February 21, 2020, 04:46:55 PM
Hello!

I don't quite understand why I've been blocked:

http://forum.centos-webpanel.com/index.php?topic=8338.msg28862;topicseen#msg28862

I was indicating a CWP error and I can't respond.

Following Sandeep's response:

Quote
first of all we didn't delete any user file whether it is 0 bytes. You can try incremental instead of compress.

I have it marked as incremental and I don't have that option. Am I doing something wrong?

Image 1:

(https://i.gyazo.com/8dea635025b0ea77dbbb1f85842cf16a.png)

Image 2:

(https://i.gyazo.com/3fbab93a4edce44354dbcb5c777121f2.png)

Greetings!
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: Sandeep on February 21, 2020, 04:48:02 PM
can you elaborate more how the backups are creating in incremental (backup format) ?
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: ejsolutions on February 21, 2020, 04:54:09 PM
The previous reply didn't seem related whatsoever to the question.  :o

It's a side issue but I have noticed files are left in the backup directory uncompressed, even though compressed was selected. Just as well I have allocated sufficient space in the backup partition.
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: CoriaWeb Hosting on February 21, 2020, 04:56:40 PM
can you elaborate more how the backups are creating in incremental (backup format) ?

I didn't understand the question very well, I'm attaching an image of how they are saving folder after folder indefinitely, since the account was created.

(https://i.gyazo.com/9ee8ce64a55a29b99d509da5ac10334f.png)
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: ejsolutions on February 21, 2020, 04:57:19 PM
Hello!

I don't quite understand why I've been blocked:

http://forum.centos-webpanel.com/index.php?topic=8338.msg28862;topicseen#msg28862

Confirmed: not just me then.
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: Sandeep on February 21, 2020, 05:10:05 PM
you can simply delete the dir for the date you don't want the backup.
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: CoriaWeb Hosting on February 21, 2020, 05:13:31 PM
you can simply delete the dir for the date you don't want the backup.

Can you explain to me how to do it on servers when they have hundreds of accounts?

This should be a backup system option. I don't understand that answer.

Greetings!
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: ejsolutions on February 21, 2020, 05:15:29 PM
Thus, as previously mentioned:
"Daily Backup Retention", "Weekly Backup Retention" and "Monthly Backup Retention" are meaningless. See OP supplied screenshot.
Also refer to my previous post/thread as to how backups should be done/configured.

For OP, I pointed you in the direction of backup culling, which could be run from a daily cron.
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: Sandeep on February 21, 2020, 05:17:30 PM
its super easy via command  you can add it to cron too (Don't say you don't know how to do it :P):

Code: [Select]
find /path/backup/* -type d -ctime +5 -exec rm -rf {} \;
+5 is the flag which will delete the directory older than 5 days
10 days = +10
15 days = +15
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: CoriaWeb Hosting on February 21, 2020, 05:28:56 PM
its super easy via command  you can add it to cron too (Don't say you don't know how to do it :P):

Code: [Select]
find /path/backup/ -type d -ctime +5 -exec rm -rf {} \;
+5 is the flag which will delete the directory older than 5 days
10 days = +10
15 days = +15

And why isn't it implemented in the backup system if it's so simple?

You know you can count on us for these improvements, we prefer it at the control panel level. "We're that lazy" hahaha

P.S. Waste 30 minutes of your time implementing that, it's necessary.

Greetings!
Title: Re: We need this option at CWP "URGENTLY" (PART 2)
Post by: Sandeep on February 21, 2020, 05:31:18 PM
already replied we didn't delete the user files. this topic will be closed for further reply.