quentin.dufour.io/_posts/2017-05-08-backups.md

62 lines
793 B
Markdown
Raw Normal View History

2018-05-08 15:25:28 +00:00
---
layout: post
slug: todo
status: draft
sitemap: false
title: todo
description: todo
categories:
- linux
tags:
---
HP DDS 4
Digital Data Storage
Monter le système fuse Seafile :
```bash
./seaf-fuse.sh start /mnt/seafile
```
Sauvegarde :
```bash
mt -f /dev/st0 rewind
tar -czf /dev/st0 /mnt/seafile/xxx@xxx.xx/
```
Informations :
```bash
mt -f /dev/st0 status
mt -f /dev/st0 tell
tar -tzf /dev/st0
```
Liste des fichiers
```
tar -tzf /dev/st0
```
Restauration
```bash
mt -f /dev/st0 rewind
tar -xzf /dev/st0 /tmp/
```
Efface :
```bash
mt -f /dev/st0 erase
```
* https://manual.seafile.com/extension/fuse.html
* https://www.cyberciti.biz/faq/linux-tape-backup-with-mt-and-tar-command-howto/
* https://www.cyberciti.biz/hardware/unix-linux-basic-tape-management-commands/