Commit Graph

236 Commits

Author SHA1 Message Date
Felicitas Pojtinger
82621af612 feat: Implement transparent compression based on GZip 2021-11-30 17:51:09 +01:00
Felicitas Pojtinger
8f93dcfef9 refactor: Use manual size calculation instead of trusting the tar header size 2021-11-30 15:44:15 +01:00
Felicitas Pojtinger
4d67601837 feat: Add aliases to commands, re-organize subcommands to be destinct from root commands 2021-11-29 23:18:25 +01:00
Felicitas Pojtinger
bc291fa883 refactor: Use unified naming scheme for commands 2021-11-29 23:07:19 +01:00
Felicitas Pojtinger
1d9b756752 feat: Add restore command which combines behaviour of find and recovery restore commands 2021-11-29 22:41:18 +01:00
Felicitas Pojtinger
5f7136f625 feat: Add support for nested root directories 2021-11-28 23:26:20 +01:00
Felicitas Pojtinger
bb012fdaaa feat: Add find command for searching by regex 2021-11-28 23:10:33 +01:00
Felicitas Pojtinger
5f3d3598d8 feat: Implement reliable direct child directory searches 2021-11-28 22:56:27 +01:00
Felicitas Pojtinger
35a447a9cc refactor: Move drive and recovery commands to subcommands 2021-11-28 19:07:10 +01:00
Felicitas Pojtinger
05d4ef999a fix: Remove unused overwrite option in update command 2021-11-28 19:00:37 +01:00
Felicitas Pojtinger
ab8bdc7a8f feat: Allow overwriting tape in archive command 2021-11-28 18:59:27 +01:00
Felicitas Pojtinger
de4c629fbf feat: Implement restoring folders 2021-11-28 16:23:43 +01:00
Felicitas Pojtinger
4ae1a1df47 fix: Truncate destination file when restoring 2021-11-28 15:50:48 +01:00
Felicitas Pojtinger
232ec290d1 feat: Implement Replaces-Content: true header support 2021-11-28 15:48:13 +01:00
Felicitas Pojtinger
7115d0ecb4 feat: Add support for metadata-only UPDATE PAX headers 2021-11-28 14:59:23 +01:00
Felicitas Pojtinger
e4ab0e72ca feat: Start implementation of update cmd 2021-11-27 17:05:49 +01:00
Felicitas Pojtinger
9ebe92a678 feat: Add support for tape format update actions 2021-11-26 19:00:32 +01:00
Felicitas Pojtinger
f4e0b3a9b2 feat: Add move command with support for moving children 2021-11-26 18:36:00 +01:00
Felicitas Pojtinger
e5fe87566e fix: Pass pointer to dirty flag to prevent not appending the trailer 2021-11-26 18:03:08 +01:00
Felicitas Pojtinger
b7501241c7 fix: Overwrite archive if -o flag is specified 2021-11-26 17:51:47 +01:00
Felicitas Pojtinger
cd44a4e699 refactor: Decompose tape opening 2021-11-26 17:20:19 +01:00
Felicitas Pojtinger
1fe518b933 refactor: Decompose tar writer initialization 2021-11-26 17:08:20 +01:00
Felicitas Pojtinger
6d4b3dfd93 feat: Implement ReplacesName PAX record 2021-11-25 17:38:13 +01:00
Felicitas Pojtinger
9a673ff0f2 feat: Add basic STFS.ReplacesContent PAX record support in indexer 2021-11-25 17:21:44 +01:00
Felicitas Pojtinger
0ae66d3263 feat: Add ls equivalent to query cmd 2021-11-24 20:07:51 +01:00
Felicitas Pojtinger
8924b9de91 feat: Add support for deleting directories 2021-11-23 12:17:24 +01:00
Felicitas Pojtinger
764dabad99 feat: Implement automatic indexing after archival 2021-11-21 21:20:46 +01:00
Felicitas Pojtinger
d4c4eb41ef feat: Enable indexing with tape as single source of truth after deletions 2021-11-21 19:58:02 +01:00
Felicitas Pojtinger
a33c4cb588 refactor: Rewrite tar tvf & mt fsf compatible tape parser without dirty flag 2021-11-21 19:15:40 +01:00
Felicitas Pojtinger
5bf40bf7cb fix: Ensure that full records are written to tape so that EOF marks work 2021-11-21 19:14:47 +01:00
Felicitas Pojtinger
7681c5517e feat: Implement deletion based on PAX record meta information 2021-11-21 15:33:06 +01:00
Felicitas Pojtinger
b78e577ed0 feat: Implement basic remove command which modifies the index 2021-11-21 14:02:21 +01:00
Felicitas Pojtinger
aefbe4bbce refactor: Merge stbak and stcache commands 2021-11-21 13:39:14 +01:00
Felicitas Pojtinger
57f524cc21 feat: Enable overwriting index with -o flag 2021-11-21 13:29:51 +01:00
Felicitas Pojtinger
4ad796bb17 feat: Implement stcache list command 2021-11-21 01:44:08 +01:00
Felicitas Pojtinger
43053d83b9 fix: Prevent int64 casts from corrupting record and block values 2021-11-21 01:22:40 +01:00
Felicitas Pojtinger
a413ba8fa5 feat: Add generic persister for metadata 2021-11-21 00:50:11 +01:00
Felicitas Pojtinger
ddadeace61 feat: Start implementation of SQLite index backend 2021-11-21 00:28:25 +01:00
Felicitas Pojtinger
988b6f5060 fix: Truncate file if -o is specified before writing for tar backend 2021-11-20 17:00:25 +01:00
Felicitas Pojtinger
93adb5da13 fix: Enable seeking through filemarks (tar ivf) for tar backend 2021-11-20 16:57:11 +01:00
Felicitas Pojtinger
1f603821aa refactor: Make tape flag global 2021-11-20 16:34:06 +01:00
Felicitas Pojtinger
fd3606ae4b feat: Port to more UNIXes 2021-11-20 14:55:58 +01:00
Felicitas Pojtinger
7e28ec0aaf feat: Start implementation of stcache index cmd 2021-11-19 16:41:23 +01:00
Felicitas Pojtinger
be65e19d89 feat: Allow seeking to specific location in tape before starting count in list command 2021-11-19 16:41:07 +01:00
Felicitas Pojtinger
8e822c39f8 feat: Add eject cmd 2021-11-19 14:42:13 +01:00
Felicitas Pojtinger
63fa4c3669 feat: Add Cobra commands for all functionality 2021-11-19 02:46:49 +01:00
Felicitas Pojtinger
6976438bb4 feat: Add structured CSV output to archive, list and restore commands 2021-11-19 01:46:12 +01:00
Felicitas Pojtinger
0594076323 refactor: Use standard CLI flags and cmd naming scheme 2021-11-19 01:17:19 +01:00
Felicitas Pojtinger
f208c09004 feat: Add stfs-restore command 2021-11-19 00:56:56 +01:00
Felicitas Pojtinger
f426874cbd refactor: Decompose syscalls into pkg, start adding utility commands 2021-11-19 00:39:28 +01:00