Commit Graph

39 Commits

Author SHA1 Message Date
iliajie
8694adcf93 Add placeholder for the local file in backup destination 2023-03-24 20:21:52 +02:00
iliajie
d0ed6f944e Fix pointless warnings flooding error log 2022-06-30 13:08:38 +03:00
Ilia Rostovtsev
d75dcacfd1 Fix to remove from load no longer used lib 2020-09-09 21:23:38 +03:00
Ilia Rostovtsev
51cf3fd018 Add to use helper function to create timestamped trans files 2020-09-09 21:21:50 +03:00
Ilia Rostovtsev
25127a8f58 Add proper file name upon backup, if undefined
https://virtualmin.com/node/69843
2020-09-09 16:51:17 +03:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
razor2k
0f895e893c Added v flag for tar extraction
Added the v (verbose) flag when really extracting the backup tar.
If this flag is not set tar will not print the list of files, that are extracted. This leads to an empty output which later leads to an empty @$files when trying to split the output from the untar command.
This then leads to restore.cgi falsely reporting "0 files have been restored".
Tested on Ubuntu 14.04.5
2017-03-31 10:31:05 +02:00
Jamie Cameron
cb24e776b8 Fix perl warnings https://sourceforge.net/p/webadmin/bugs/4907/ 2017-02-26 14:08:41 -08:00
Ilia Rostovtsev
846f023392 Fix incorrect col span value that breaks the table drawings
Here is the way it looks without Authentic fixing it. (you can't see it broken in Authentic, see the source).

After applying correct values nothing is broken and looks great:
2016-05-16 15:21:48 +03:00
Jamie Cameron
cbeaed860b Allow restore of non-module files from the backup https://sourceforge.net/p/webadmin/bugs/4545/ 2015-01-23 16:12:45 -08:00
Jamie Cameron
cf995b1173 Include custom-lang files in backups 2014-05-17 20:27:19 -07:00
Nawawi Jamili
e3b16a83fa fix column 2013-12-04 21:41:40 +08:00
nawawi
b538a06d65 another html,js cleanup 2013-11-08 22:29:09 +08:00
Jamie Cameron
a3d38a9908 Include files within directories returned by modules 2012-05-30 14:47:38 -07:00
Jamie Cameron
5fd32f9c11 Allow use of webmin variables in backup dests 2012-01-06 14:33:27 -08:00
Jamie Cameron
421ee7be68 Fix warnings
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3392381&group_id=17457
2011-08-16 10:23:45 -07:00
Jamie Cameron
d804e52d30 Suppress warning 2011-08-13 12:02:39 -07:00
Jamie Cameron
57565271c3 Fix a bunch of warnings
https://www.virtualmin.com/node/18946
2011-07-25 13:50:30 -07:00
Jamie Cameron
ebbd23861d Fail fast if dir is missing 2011-07-23 16:05:00 -07:00
Jamie Cameron
6400ebef2e Make warnings compliant 2011-04-28 21:52:43 -07:00
Jamie Cameron
f04e298af1 Replace local with my 2011-04-24 23:59:36 -07:00
Jamie Cameron
7eae42d222 Convert gethostby* functions to IPv6-friendly equivalents 2010-10-30 17:36:36 -07:00
Jamie Cameron
c91a5031a7 Use temp file for files to backup, to avoid tar command line length errors 2010-03-18 13:29:27 -07:00
Jamie Cameron
10aead103b Extra protection against bad modules 2010-01-18 21:17:43 -08:00
Jamie Cameron
05fd51fd88 Option to just show contents of backup before restoring 2009-10-21 22:46:30 -07:00
Jamie Cameron
9dbd5db2c9 Fix permissions 2009-07-20 23:42:32 -07:00
Jamie Cameron
a0bb78c774 Use new module 2009-03-03 21:29:28 +00:00
Jamie Cameron
70b0fbfbd0 Set backup file permissions to 600 2009-01-16 07:56:09 +00:00
Jamie Cameron
3e30d572e9 POD list tweaks 2009-01-10 20:30:50 +00:00
Jamie Cameron
2cc1212a1e Make extra sure modules exist 2008-12-28 00:23:37 +00:00
Jamie Cameron
983a72727e Make extra sure modules exist 2008-12-28 00:22:59 +00:00
Jamie Cameron
b87cfa2eb7 POD conversion 2008-12-23 19:17:38 +00:00
Jamie Cameron
e8f531148f Use my 2008-12-01 23:17:24 +00:00
Jamie Cameron
183067fc16 Fix recursive directory descent 2008-06-16 18:54:57 +00:00
Jamie Cameron
d1a64b5dff Allow custom port for FTP and SSH backups and restores 2008-01-15 20:57:43 +00:00
Jamie Cameron
34d802a181 Expand directory when entered as additonal file 2007-12-28 07:10:53 +00:00
Jamie Cameron
316c0e4021 Don't backup null module 2007-12-19 18:35:02 +00:00
Jamie Cameron
3e47fb980d Fixed incorrect error message 2007-05-22 23:39:23 +00:00
Jamie Cameron
fc1c1b243f Initial checkin of Webmin 2007-04-12 20:24:50 +00:00