summaryrefslogtreecommitdiffstats
path: root/util/dailybackup.pl
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-06 16:23:19 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-06 16:23:19 +0800
commitbc9f8094702c018c99d5a951727b76e88c811206 (patch)
tree5b87cc7647fbef5549c8997f0d9892f284fb4e65 /util/dailybackup.pl
parent4fd81cdbd5ddd4b31788deb95afaac327405637a (diff)
downloadpttbbs-bc9f8094702c018c99d5a951727b76e88c811206.tar
pttbbs-bc9f8094702c018c99d5a951727b76e88c811206.tar.gz
pttbbs-bc9f8094702c018c99d5a951727b76e88c811206.tar.bz2
pttbbs-bc9f8094702c018c99d5a951727b76e88c811206.tar.lz
pttbbs-bc9f8094702c018c99d5a951727b76e88c811206.tar.xz
pttbbs-bc9f8094702c018c99d5a951727b76e88c811206.tar.zst
pttbbs-bc9f8094702c018c99d5a951727b76e88c811206.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@88 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/dailybackup.pl')
-rw-r--r--util/dailybackup.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/dailybackup.pl b/util/dailybackup.pl
index 76943887..fdcbee93 100644
--- a/util/dailybackup.pl
+++ b/util/dailybackup.pl
@@ -32,13 +32,13 @@ foreach $orig ( <$BACKHOME/*new*> ){
}
foreach( @{$baktable[$week]} ){
- docmd("$TAR zcf $BACKHOME/man.$_.new.tgz $MANROOT/$_*");
- docmd("$TAR zcf $BACKHOME/home.$_.new.tgz $HOMEROOT/$_/*");
- docmd("$TAR zcf $BACKHOME/board.$_.new.tgz $BOARDROOT/$_*");
+ docmd("$TAR zcf $BACKHOME/man.$_.new.tgz $MANROOT/$_/*");
+ docmd("$TAR zcfh $BACKHOME/home.$_.new.tgz $HOMEROOT/$_");
+ docmd("$TAR zcf $BACKHOME/board.$_.new.tgz $BOARDROOT/$_/*");
}
if( $week == 0 ){
- docmd("$TAR zcf $BACKHOME/general.new.tgz .act .crontab .note .polling .post bin cron etc innd note.ans note.dat out out.going pttbbs pttbbs.conf upgrade.sh usies ussong");
+ docmd("$TAR zcf $BACKHOME/general.new.tgz .BRD .PASSWDS .act .note .polling .post .post.old adm bin cron etc innd log note.ans note.dat pttbbs register.log ussong");
}
sub docmd