|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
# backup
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
# label programs that do backups to other files on disk (IE a cron job that
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
# calls tar) in backup_exec_t and label the directory for storing them as
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
# backup_store_t, Debian uses /var/backups
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
#/usr/local/bin/backup-script -- gen_context(system_u:object_r:backup_exec_t,s0)
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
ifdef(`distro_debian',`
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
/etc/cron.daily/aptitude -- gen_context(system_u:object_r:backup_exec_t,s0)
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
/etc/cron.daily/standard -- gen_context(system_u:object_r:backup_exec_t,s0)
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
')
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
|
|
![](https://seccdn.libravatar.org/avatar/a2cc8783a9727b89b4e4f4d85b9c74f5ebb768d0ee0302876f2c9a58b9377de8?s=16&d=retro) |
1ec3d1a |
/var/backups(/.*)? gen_context(system_u:object_r:backup_store_t,s0)
|