Crone job question ? - Joomla! Forum - community, help and support
i have account on godaddy have 3 sites in root .
what line type 1 directory . not .
till using tar -cvvf /$home/directory/exzample.tgz .
$home can see data in root . how can backup 1 folder in root .
i need code line .
thanks .
what line type 1 directory . not .
till using tar -cvvf /$home/directory/exzample.tgz .
$home can see data in root . how can backup 1 folder in root .
i need code line .
thanks .
sort of puzzling query if understand it. command line includes path, needs that, path. if in /$home, specify sub folder of $home want backup, in same command.
your example backup 1 file , 1 file only. exzample.tgz
you need merely specify want backup. if parent folder. /home/mysite thats specify, not /home
you need switch copy recursively, ie subfolders, first need name main folder want tstart with, apparently not /home rather /home/somethingelse
instead of /$home maybe /$home/site1 or /$home/site2 whatever folder want up, specify in cron job. there switch -r copy folders sub folder specified.
maybe missing something, if not, try specifying exact folder want backup, sub folder of /home or whatever. hope makes sense, if not, elaborate bit, or maybe else understands question better i.
your example backup 1 file , 1 file only. exzample.tgz
you need merely specify want backup. if parent folder. /home/mysite thats specify, not /home
you need switch copy recursively, ie subfolders, first need name main folder want tstart with, apparently not /home rather /home/somethingelse
instead of /$home maybe /$home/site1 or /$home/site2 whatever folder want up, specify in cron job. there switch -r copy folders sub folder specified.
maybe missing something, if not, try specifying exact folder want backup, sub folder of /home or whatever. hope makes sense, if not, elaborate bit, or maybe else understands question better i.
Comments
Post a Comment