luckybackup 스케쥴링 설정문의
2014.07.15 10:50
질문하시기 전에 게시판 검색을 먼저 해주세요.
타블릿PC, 스마트폰에 관한 질문 또는 요청은 <포터블기기 질문답변> 게시판을 이용해주세요.
=============================================================================================
데이터 서버의 백업을 luckybackup 을 이용해 하고 있습니다.
1. 매일 백업은 copy로 아래와 같이 설정하였습니다.
매일밤 10시 작동
192.168.0.201/data-01 --> copy 192.168.0.202/data-01
매일새벽 2시 작동
192.168.0.201/data-02 ---> copy 192.168.0.202/data-02
2. 월 1회 백업은 sync로 아래와 같이 설정하였습니다.
매월 마지막 토요일 밤 11시 작동
192.168.0.201/data-01 --> sync 192.168.0.202/data-01
매월 마지막 일요일 밤 11시 작동
192.168.0.201/data-02 ---> sync 192.168.0.202/data-02
1.번 설정을 위해 스케쥴의 옵션에서
Day of Week : Any
Month : Any
Day of Month : Any
로 해 두었습니다.
2.번 설정을 위해
Day of Week : Saturday
Month : July
Day of Month : 26th
와
Day of Week : Sunday
Month : July
Day of Month : 27th
로 해 두었습니다.
crontab을 통해 작동하도록 해 두었습니다.
그런데 아래 매뉴얼 페이지를 읽어보다가 의문이 생겼습니다.
위와 같이 설정한 이유는 매일 매일 추가되거나 변경된 폴더를 백업 서버로 copy하고 월 2회 삭제된 파일을 삭제하여 원본과 백업본의 일치를 이루려 하였습니다.
스케쥴 옵션에 월~금요일까지만 선택할 수 없어 요일별로 백업 스케쥴을 만들거나 매일 백업하는 방법뿐이라 매일로 설정해 두었습니다.
이유는 금요일까지만 새로운 파일이 생성되기 때문입니다.
마지막주 토요일과 일요일 설정은 할 수 없기에 매월 날짜를 파악하여 날짜를 지정하는 방법을 사용하였습니다.
그런데, 여기에서 의문이 생겼습니다.
아래 매뉴얼 설정에 따르면
Day of Week : Saturday
Month : July
Day of Month : 26th
이렇게 설정하면 매주 토요일날도 sync하고 7월 26일도 Sync 한다는 의미같습니다.
질문 1. 제가 이해한 것이 맞는지요?
질문 2. 맞다면 월 1회 마지막주 토요일에만 한 번 작동하게 하려면 어찌 설정해야 하는지요?
제가 이해한 바로 옵션 선택 논리가
1) [Day of Week] or [{Month} and {Day of Month}] 인가요?
2) [Day of Week] and [{Month} and {Day of Month}] 인가요?
2) 번이 맞다면 제가 설정한 것이 제대로 한 것 같은데 말이죠...
===================================================
Execute every
It is possible to schedule a specific profile to execute at a specific time, at specific intervals by declaring the following:
Month & day of month
Declare the specific date you wish your profile to be executed, by selecting the relevant month& day of month (for example every February the 26th).
If you do not wish to use this option leave both listboxes to Any.
Day of week
Choose the day of week, you wish your profile to be executed (for example every Sunday). If you do not wish to use this option leave it to Any.
NOTE: If you use both “Month & day of month” and “Day of Week” then the profile will be executed when at least one of them matches the relevant time criteria. For example if you declare “every February the 26th “ as well as “every Sunday”, the schedule will run every Sunday and every February 26th.
TIP: If you wish the schedule to run every day, leave all 3 fields to Any.
Time
Declare the specific time at which you want a profile to be executed by entering appropriate data at the hour & minute boxes. Use the up/down arrows if you find them handy. e.g. for execution at time 17:45, enter hour:17 & minute:45.
If you wish the profile to run on an hourly basis, set the hour value to -1