DROP FUNCTION list_directory_reverse(BYTEA, BYTEA, BYTEA, INTEGER);
DROP FUNCTION list_directory(BYTEA, BYTEA, BYTEA, INTEGER);
DROP TYPE path_and_meta;
DROP FUNCTION component_increment(BYTEA, INTEGER);
DROP FUNCTION bytea_increment(BYTEA);
DROP FUNCTION truncate_after(BYTEA, INTEGER, INTEGER);
DROP VIEW pathdata_pretty;
DROP TABLE pathdata;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# USAGE: ./reupload.sh <BUCKET-ID> <NEW-BUCKET-ID> | |
# Bucket-ID's are optional, if not provided the entire account is reuploaded | |
# Account Email Addresses | |
username1=test@storj.io | |
username2=test2@storj.io | |
# Account Passwords | |
password1=passw0rd | |
password2=passwOrd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BUCKET="srv11" | |
FILE="500M.data" | |
FILEPATH="/root/load-test" | |
THREAD=`date +%Y%m%d%H%M%S` | |
LOG="logs/$THREAD.log" | |
DEBUG="trace" | |
UPLOADLOG="logs/$THREAD-detailed.log" | |
PARAMS="--config-dir ./uplink --log.level debug --log.output $UPLOADLOG --debug.trace-out $DEBUG/$THREAD/$i-up.trace --profile.cpu $DEBUG/$THREAD/$i-up-cpu.profile --profile.mem $DEBUG/$THREAD/$i-up-mem.profile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# USAGE: ./reupload.sh (<BUCKET-ID>) | |
# Bucket-ID is optional, if not provided the entire account is reuploaded | |
passphrase=TEST | |
storage="./files/" | |
bpath=$(pwd) | |
file="./bucket.list" | |
reuploadbucket() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Prerequisite: go and tmux installed and ssh-keys installed on this machine | |
# | |
IP1=10.0.20.10 #This is the bootstrap/main address and localhost youre running on | |
IP2=10.0.20.11 | |
IP3=10.0.20.12 | |
IP4=10.0.20.13 |
I hereby claim:
- I am stefanbenten on github.
- I am stefanbenten (https://keybase.io/stefanbenten) on keybase.
- I have a public key whose fingerprint is E304 8E19 B15D 487F 6549 08AA 0442 0301 F706 2E47
To claim this, I am signing this object: