1 # (This is -*- perl -*- code.)
2 ##############################################################################
3 # Monikop's configuration file.
5 # Copy this file to `monikop.config' and adapt it to your needs.
6 ##############################################################################
8 # Possible data Sources, and by what directory name to represent them in
10 # When the latter is not unique, care must be taken that all pathnames in the
11 # respective Sources are unique, or files will overwrite each other in
14 'data_producer1::data' => 'p1_dir',
15 'data_producer2::data' => 'p2_dir',
16 'data_producer3::data' => '',
17 'data_producer4::data' => '',
20 # Possible mount points of the removable disks.
21 @usable_mount_points = (
27 # Common directory (under a mount point) to put new data in.
28 # Must agree with Pokinom's setting.
29 $path_under_mount_point =
33 # Directories (under any mount point) of this name will be deleted by Monikop.
34 # Must agree with Pokinom's setting.
35 $path_under_mount_point_backed_up =
39 # Directory name (under a mount point) while being deleted.
40 # Must agree with Pokinom's setting.
41 $path_under_mount_point_being_deleted =
45 # Path and file name prefix for rsync's raw logs:
50 # Path and file name prefix for the list of successfully rsynced files:
52 '~/log/monikop/finished.'
55 # Safe files are supposed to survive power cuts during write operations.
56 # How to suffix the name of the duplicate of a safe file:
57 $safe_file_backup_suffix =
61 # How to suffix the name of an unfinished safe file:
62 $safe_file_unfinished_suffix =
66 # What to do (shutdown) when F3 has been pressed:
71 # What to do (reboot) when F6 has been pressed:
76 # Rsync's time (in seconds) to wait for a response. This is roughly the time
77 # Monikop needs to notice the disappearance of a Source. Must not be 0.
82 # Rsync's directory (relative to mount point of removable disk) for partially
84 # Must agree with Pokinom's setting. Make sure your payload data does not
85 # contain an equally-named directory.
86 $rsync_partial_dir_name =