1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-16 00:00:05 +01:00

Commit graph

  • 38ba5fbceb Merge pull request #727 from MirkoDziadzka/fix-typo Alexander Neumann 2017-01-18 11:46:56 +01:00
  • d47758a540 fix typo Mirko Dziadzka 2017-01-18 10:46:04 +01:00
  • dac18e3bf8 Improve BenchmarkIndexSave Alexander Neumann 2017-01-17 13:00:59 +01:00
  • c4f44c7bcb Reduce memory consuption of TestCreateSnapshot Alexander Neumann 2017-01-17 12:56:20 +01:00
  • 73ad3d418d Index: Remove unneeded allocation Alexander Neumann 2017-01-17 12:46:41 +01:00
  • 36276c41b2 Add Benchmark for IndexSave Alexander Neumann 2017-01-15 16:16:09 +01:00
  • d40f566e41 Index: Use slices instead of maps, reduce data Alexander Neumann 2017-01-15 15:45:52 +01:00
  • cd9b526203 Preallocate pack entries list Alexander Neumann 2017-01-15 15:27:58 +01:00
  • caabc4ec44 Reduce memory usage while decoding index Alexander Neumann 2017-01-13 22:05:34 +01:00
  • 73e7a2bea8 Add BenchmarkLoadIndex Alexander Neumann 2017-01-13 21:39:40 +01:00
  • e463587bad Add BenchmarkDecodeIndex Alexander Neumann 2017-01-13 21:27:37 +01:00
  • e571b6a656 Use the same buffer for decryption Alexander Neumann 2017-01-13 21:23:47 +01:00
  • 710499cf46 Add benchmark for LoadAndDecrypt Alexander Neumann 2017-01-13 20:56:50 +01:00
  • 32a5c2c1f6 Add a few functions to calculate Blob buffer len Alexander Neumann 2017-01-13 12:57:05 +01:00
  • 91dcb958e0 Fix tests Alexander Neumann 2017-01-13 12:40:03 +01:00
  • 9a5b9253c4 LoadBlob: use buffer as scratch space Alexander Neumann 2017-01-13 12:33:06 +01:00
  • 215af5c60a Add LoadBlob benchmark Alexander Neumann 2017-01-13 12:20:37 +01:00
  • 8734c2466c Fix call to debug.Log() Alexander Neumann 2017-01-13 12:22:42 +01:00
  • 0556687584 Reduce memory usage for prune Alexander Neumann 2017-01-12 22:14:31 +01:00
  • 094e80f4a4 Merge pull request #723 from ulziibuyan/ls-latest-cmd Alexander Neumann 2017-01-15 12:40:58 +01:00
  • c13a0953c8 User interface inconsistency fixed Uzi 2017-01-14 11:19:47 +08:00
  • 9f1f174c99 Add script to build release binaries Alexander Neumann 2017-01-12 19:52:03 +01:00
  • 7e0a4c66e7 build.go: Make binaries completely static (disables cgo) Alexander Neumann 2017-01-12 19:51:19 +01:00
  • 62b1056860 build.go: Allow setting the output file name Alexander Neumann 2017-01-12 19:51:08 +01:00
  • a3181dbead CI: cross-compile for OpenBSD Alexander Neumann 2017-01-12 19:50:41 +01:00
  • 02c02283cf Added latest keyword in ls command. Uzi 2017-01-12 19:24:08 +08:00
  • 4d93da9f68 Add VERSION file for 0.3.3 v0.3.3 Alexander Neumann 2017-01-08 10:46:43 +01:00
  • 4a6086a14b Merge pull request #718 from mholt/flag-priority Alexander Neumann 2017-01-02 20:31:20 +01:00
  • 0a34a2d5d8 Consider the environment Matthew Holt 2017-01-02 12:21:30 -07:00
  • a394b675b0 CLI options now override env vars Matthew Holt 2017-01-02 11:14:22 -07:00
  • 68d8447902 Merge 8dea942013 into 04846b10bc Joe Turgeon 2017-01-02 16:19:58 +00:00
  • 04846b10bc Merge pull request #717 from restic/fix-367 Alexander Neumann 2017-01-02 17:18:59 +01:00
  • f9501e97a2 Only add entries to indexes inside PackerManager Alexander Neumann 2017-01-02 14:14:51 +01:00
  • 3ef788765a Merge pull request #715 from zcalusic/master Alexander Neumann 2017-01-02 11:13:35 +01:00
  • 8e16931949 Merge pull request #716 from zcalusic/rest-server-new-location Alexander Neumann 2017-01-02 11:12:37 +01:00
  • 2267aca296 Rest server moved to https://github.com/restic/rest-server Zlatko Čalušić 2017-01-01 16:10:41 +01:00
  • c70bc7ed0b Document REST backend Zlatko Čalušić 2016-12-31 13:14:44 +01:00
  • 03209b95fd Added support for a configurable directory prefix for blob names. Christian Kemper 2016-12-30 14:59:34 -08:00
  • e21ea66953 Added support to s3.go to optionally use a local and sftp compatible repository layout. Christian Kemper 2016-02-27 10:58:45 -08:00
  • 13cbd11818 Exported s3.createConfig as s3.NewConfig to make it usable by gcs.ParseConfig. Christian Kemper 2016-02-21 08:14:03 -08:00
  • af964669a4 Added support for Google Cloud Storage repositories using the existing s3 support to address #211. Christian Kemper 2016-02-14 14:53:11 -08:00
  • 006cc6059c Use path.Join to create the s3 object name within the bucket. Christian Kemper 2016-02-15 09:47:10 -08:00
  • 8e3b81c5ec Merge pull request #713 from restic/update-travis Alexander Neumann 2016-12-30 17:21:27 +01:00
  • 30975f7116 Update appveyor configuration Alexander Neumann 2016-12-30 15:20:09 +01:00
  • 0ef463d56a Update .travis.yml Alexander Neumann 2016-12-30 15:18:49 +01:00
  • 5132f5bfe6 Merge pull request #709 from restic/fix-708 Alexander Neumann 2016-12-28 18:28:07 +01:00
  • 80457018d7 Make sure cleanup is executed before exiting Alexander Neumann 2016-12-28 10:53:31 +01:00
  • 8dea942013
    Clean up backend/b2 e2e tests by removing bucket used for tests. Joe Turgeon 2016-12-25 18:59:24 -07:00
  • affa1dd0a0
    Generate a random bucket name for backend/b2 e2e tests. Joe Turgeon 2016-12-25 18:37:04 -07:00
  • b0997d05fb Merge pull request #704 from restic/remove-timestamp Alexander Neumann 2016-12-19 22:22:43 +01:00
  • 3add2f0acb Merge pull request #703 from sjoerdsimons/master Alexander Neumann 2016-12-19 22:21:18 +01:00
  • 166d1811a1 Remove timestamp from version command Alexander Neumann 2016-12-19 21:14:12 +01:00
  • 591f51c72e
    Adding check for uploaded status in b2.Load() and b2.Test(). Joe Turgeon 2016-12-18 17:39:46 -06:00
  • 4157af999f
    Updating to latest version of kurin/blazer, which eliminates need to fetch attributes to get name. Joe Turgeon 2016-12-18 17:00:59 -06:00
  • e1fc455079 Avoid duplicate backup paths Sjoerd Simons 2016-12-18 23:20:08 +01:00
  • 98237bf942 Add VERSION file for 0.3.2 v0.3.2 Alexander Neumann 2016-12-18 18:53:03 +01:00
  • 75f21f23ff Merge pull request #700 from restic/debug-panic Alexander Neumann 2016-12-14 21:29:04 +01:00
  • 9885aeac3b Make sure SaveFile always returns a node Alexander Neumann 2016-12-14 18:56:11 +01:00
  • 85c87b9ab9 Add VERSION file for 0.3.1 v0.3.1 Alexander Neumann 2016-12-13 21:36:22 +01:00
  • 2644d55b14 Simple fix to get correct object ID jayme-github 2016-12-12 17:10:42 +01:00
  • 218778d212 Fix comment style jayme-github 2016-12-12 13:46:01 +01:00
  • 88914d701a Align path names generated for file and S3 backend jayme-github 2016-12-12 09:29:05 +01:00
  • fce667a905
    Minor code clean up in b2 backend code. Joe Turgeon 2016-12-11 21:02:54 -06:00
  • 38043c3acb
    Improving documentation for using the B2 backend. Joe Turgeon 2016-12-11 19:20:43 -06:00
  • 049859d323
    Initial commit of BackBlaze B2 backend support for restic using kurin's blazer/b2 package. Joe Turgeon 2016-12-11 18:51:23 -06:00
  • 51cd78e16c Merge pull request #691 from restic/fix-604 Alexander Neumann 2016-12-10 17:31:20 +01:00
  • e6a40af06d Treat changed files as a warning, not an error Alexander Neumann 2016-12-10 17:14:13 +01:00
  • 3fcbb4ac25 Use new Node if file has changed Alexander Neumann 2016-12-10 16:54:20 +01:00
  • 7d71bad4eb Test if modified files are correctly saved Alexander Neumann 2016-12-10 16:36:58 +01:00
  • dbdfed6343 Merge pull request #690 from zcalusic/master Alexander Neumann 2016-12-10 12:36:56 +01:00
  • 5e48c1fadc Merge pull request #688 from restic/fix-686 Alexander Neumann 2016-12-10 12:33:58 +01:00
  • deb6dd7f72 Even if file changes size during backup, still save it Zlatko Čalušić 2016-12-10 12:22:06 +01:00
  • c265673c8e Save snapshot after saving all pack files Alexander Neumann 2016-12-10 11:49:09 +01:00
  • 0fceeb20f1 Merge pull request #685 from jannic/patch-1 Alexander Neumann 2016-12-06 08:16:33 +01:00
  • c5897e0d62 Update debug message Jan Niehusmann 2016-12-05 23:12:30 +01:00
  • 8d13f22c50 Merge pull request #683 from jannic/pr1 Alexander Neumann 2016-12-03 11:15:24 +01:00
  • 1815536534 Update build.go Alexander Neumann 2016-12-03 11:14:30 +01:00
  • 9267c25aa0 Omit "archived as %v" messages in quiet mode. Jan Niehusmann 2016-12-03 10:25:44 +01:00
  • 281cbbdf2e Merge pull request #682 from jpmens/patch-1 Alexander Neumann 2016-12-03 10:11:58 +01:00
  • 5996d671a0 Small typo in dry-run of remove snapshot JP Mens 2016-12-02 17:33:05 +01:00
  • ef9b974bcd Merge pull request #681 from zcalusic/master Alexander Neumann 2016-12-02 11:15:29 +01:00
  • 7e66b73ce0 Stop trying to detect Go version Zlatko Čalušić 2016-12-01 19:59:09 +01:00
  • 505a2097ad Manual: Add note about s3 bucket locations Alexander Neumann 2016-11-27 20:18:57 +01:00
  • 07380878fb Merge pull request #678 from restic/fix-676 Alexander Neumann 2016-11-19 19:22:44 +01:00
  • 3b29ae3c99 Update github.com/elithrar/simple-scrypt Alexander Neumann 2016-11-19 17:13:13 +01:00
  • e5617b5fd1 Merge pull request #675 from restic/parent-check-hostname Alexander Neumann 2016-11-19 12:42:40 +01:00
  • 11f23ae663 Merge pull request #673 from Novex/restore-directory-metadata-for-existing-directories Alexander Neumann 2016-11-19 12:42:31 +01:00
  • 2828003d60 Test that existing files and dirs are restored Alexander Neumann 2016-11-15 21:41:41 +01:00
  • 16cef3b4c6 Use the hostname filter to find a parent snasphot Alexander Neumann 2016-11-15 21:04:08 +01:00
  • 699f39e3cf FindLatestSnapshot: Rename parameter to clarify meaning Alexander Neumann 2016-11-15 21:03:54 +01:00
  • 465d4297b9 Implement progress bar for scans as well * Remote repositories may take a while to scan, so give the user a little bit of feedback while we do so Seb Patane 2016-11-14 22:51:29 +10:00
  • 33b6a7381b Don't consider a pre-existing directory in the restore path to be a failure * When a directory already exists, CreateDirAt returns an error stating so * This means that the restoreMetadata step is skipped, so for directories which already exist no file permissions, owners, groups, etc will be restored on them * Not returning the error if it's a "directory exists" error means the metadata will get restored * It also removes the superfluous "error for ...: mkdir ...: file exists" messages * This makes the behaviour of directories consistent with that of files (which always have their content & metadata restored, regardless of whether they existed or not) Seb Patane 2016-11-14 17:53:09 +10:00
  • 86a4634ee9 Only restore blobs which don't exist locally * If we can, calculate the hash of the part of the local file that the blob corresponds to * If it matches then we already have the data and can skip fetching it * This should significantly improve the speed of remote restores when a local dataset already exists Seb Patane 2016-11-14 12:41:55 +10:00
  • d8377140f1 Implement a progress bar for restores * Adds a Scan function for Restores (similar to the one in the Archiver) - this returns the size & number of items to be restored for the specified repository snapshot (instead of the filesystem) * We pass the scan results into the RestoreTo function which sorts out the Progress bar initialization * We can't do this in the restorer constructor like in the archiver because the filters aren't set up yet * At this stage this is just the same progress bar that is used for archiving * The bytes completed stats are reported by the Node itself (which involves passing the progress reference through) * he Restorer reports the other stats - namely items completed & error count Seb Patane 2016-11-14 03:17:09 +10:00
  • 28202edf33 Refactor the node traversal in restoreTo into a reusable walk method Seb Patane 2016-11-14 03:05:23 +10:00
  • ff6495d17d Remove the unused destination path filter to simplify things a little Seb Patane 2016-11-14 02:59:55 +10:00
  • 190673b24a Merge pull request #657 from AlexanderThaller/read_backup_files_from_file Alexander Neumann 2016-11-12 21:47:11 +01:00
  • b7b03dbd4a Added new flag to backup subcommand that reads the files to backup from a file Alexander Thaller 2016-11-03 18:48:07 +01:00
  • 56009dd16e Merge pull request #670 from restic/remove-fadvise Alexander Neumann 2016-11-10 23:42:21 +01:00
  • b56bde3f61 Remove fadvise Alexander Neumann 2016-11-10 22:21:22 +01:00